Josh Glover wrote:
> Quoth Max Bowsher (Tue 2004-07-27 11:06:20AM +0100):
>
>> I'm not entirely sure what we are looking for.
>>
>> Here is a list of things to check:
>>
>> *All* URLs within .svn/entries files begin with
>> "svn+ssh://svn.mydomain.com/var/svnroot/MyProject/"
>
> Bingo. A judicious grep showed that most of my sandbox files had
> originally been checked out from fileserver.mydomain.com, before the
> svn CNAME was created:
>
>> jmglov@jglover; find . -name entries | xargs grep 'url='
> ./.svn/entries:
> url="svn+ssh://fileserver.mydomain.com/var/svnroot/MyProject/trunk"
> ./tests/.svn/entries:
> url="svn+ssh://fileserver.mydomain.com/var/svnroot/MyProject/trunk/tests"
> ./tests/clients/.svn/entries:
>
url="svn+ssh://fileserver.mydomain.com/var/svnroot/MyProject/trunk/tests/cli
ents"
>
> Oops. Luckily, I was able to "sed things right" (sorry) fairly easily:
>
> sed -i.bak -e 's|url="svn+ssh://fileserver|url="svn+ssh://svn|g' `find .
> -name entries | xargs grep 'url="svn+ssh://fileserver.mydomain.com/' | awk
> -F':' '{print $1}'`
>
> Cheers, Max!
You're welcome!
The 'correct' way to handle this would be:
svn switch --relocate svn+ssh://fileserver.mydomain.com/
svn+ssh://svn.mydomain.com/
Or, even:
svn switch --relocate svn+ssh://fileserver svn+ssh://svn
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 27 17:26:25 2004