You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Liu Yubao <yu...@gmail.com> on 2008/05/29 02:43:13 UTC

Re: How to relocate source repos for svnsync?[RESOLVED]

Eric Brayet wrote:
> Hi,
> 
> A simple way to relocate a svnsync-ed repository is to change the
> revision property of the mirror that stores the source repository's URL.
> Just use this command:
> 
> svn propset svn:sync-from-url --revprop -r 0 <NEW_SOURCE_URL> <MIRROR_URL>
> 
> I am not a subscriber of the list, so could you please manage to post
> this solution as an answer to your original question ?
> 
> Best regards,
> Eric B.
> 
In fact I tried this at the beginning, it didn't work for me,
svnsync complained "svnsync: Malformed URL for repository".
I use svnsync v1.4.4 (r25188) distributed by Ubuntu 7.10.
(see http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=77710)

I checked svn 1.5.0 beta1 on Windows just now, it surprised
me `svn ps` did work but `svn pe` didn't! Then I realize
the cause is Vim appends an newline character to the <NEW_SOURCE_URL>
when I use `svn pe`, stupid mistake:-(

Thank you very much! I'll send a copy to svn-dev mail list too, hope somebody
there can add the solution to the FAQ or even better add a 'relocate' sub command
to svnsync.


Best regards,

Liu Yubao


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org