Reputation: 4909
I want to modify wordpress project as per my needs. I also want to record the code difference
i made in the project. That is my goal.
wordpress
in C:/wamp/www
C:/wamp/www/wordporess
is now the absolute path of my
wordpress directory. I can able to access it viawordpress
directory and created checkout
using this repository url http://core.svn.wordpress.org/trunk/
When i right click wordpress
and open repository browser it actually list everything from http://core.svn.wordpress.org/trunk/
But i need an environment like trunk,tags,branches in my local directory. I tried by creating checkout on a empty directory(test) by applying url like http://localhost/test but i see some error like redirect cycle detected for url http://localhost/test
Can anyone help me? Thanks
Upvotes: 2
Views: 3931
Reputation: 11
This can be fixed on the server side in Apache by setting DocumentRoot
to something other than the path containing the SVN repositories (preferably an empty directory).
Upvotes: 1
Reputation: 63
I'm running into the same problem as well.
After some experiments I think it should be caused by following procedure:
( if test
is a directory under your web root )
svn client remove the trailing slash for some reason. so for example if you type svn list http://localhost/test/
then the actual request url will be http://localhost/test
( no trailing slash! ).
The http server receive this request and found that test
is not file but a directory. so it will send a redirect response to tell client to visit http://localhost/test/
( has slash) .
the svn client go on step 1 so that finally causing infinite redirect loop....
You can try another non-exist directory like 'nonexist' or a file file to test as well which will returen "Unable to connect to a repository at URL 'http://localhost/nonexist' ..."
Upvotes: 2
Reputation: 23587
In that case you need to do the checkout from the root and not from the trunk
like http://core.svn.wordpress.org
Advise you to read word press documentation for detail how they are maintaining there structure and other things.
Upvotes: 2