[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Source url '/trunk/docs/appserver' is from different repository

From: Josh Glover <josh.glover_at_tfcci.com>
Date: 2004-07-27 16:35:22 CEST

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/clients"

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!

-Josh

-- 
Josh Glover <josh.glover@tfcci.com>
Software Engineer
Twenty First Century Communications, Inc.
http://www.tfcci.com/
GPG keyID 0x22111305 (E210 61C6 14DF B480 C211  AE2A 0F12 1D7B 2211 1305)
gpg --keyserver pgp.mit.edu --recv-keys 22111305

  • application/pgp-signature attachment: stored
Received on Tue Jul 27 16:36:20 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.