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

Re: Retarget working copy?

From: Quincey Koziol <koziol_at_ncsa.uiuc.edu>
Date: 2002-10-15 17:44:15 CEST

> Quincey Koziol <koziol@ncsa.uiuc.edu> writes:
>
> > Is there some (convenient) way to "re-target" the source of a working
> > copy? I've got a subversion server runing on my home machine, but it's on a
> > dialup connection with a dynamic IP address. When I try to "svn up" from
> > work, it cannot reach the server at the previous address that I checked things
> > out from (of course). Besides hacking the 'entries' file in each '.svn'
> > sub-directory, is there a good way to specify that the repository is at a
> > different location now?
>
> At present hacking the entries file is the only way, in the past I have
> used
>
> $ find . -path \*/.svn/entries | xargs perl -i -pe 's/(url=")URL1/$1URL2/'
>
> Modifying the entries file introduces the possibility that the working
> copy and repository will get out of sync, so a complete client
> solution would involve some form of check that the new URL matched the
> current working copy. Mark Benedetto King posted a patch last month
> that implemented URL rewriting without any checking code.
    Ah, that's too bad... :-/ I'll use the little "find" script, but it
might be something that is worthwhile note in the FAQ and to add to the
subversion distribution until there is an "official" way to get this working.

    Thanks,
        Quincey

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 15 18:54:07 2002

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

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