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

Re: Beginner's questions

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2007-05-30 05:52:51 CEST

Holger Schulz wrote:
> Am 2007-05-28 um 11:16 schrieb Ryan Schmidt:
>> In the working copy:
>> svn switch --relocate $OLDPREFIX $NEWPREFIX
>> where $OLDPREFIX and $NEWPREFIX are the parts of the URL that changes.
> Can I use this to change to protocol as well. Assume I check out via
> svn:// and wnat to continue work via ssh+svn://?

AFAIK... yes. Because working copies associate themselves with the UUID
of the repository and not the repository path.

In the db/ folder of the SVN repository, there is a file called "uuid"
which contains a long string of hexadecimal digits. I'm 99% sure that
this is what the working copy cares about, so as long as the alternate
access path (i.e. using svn isntead of svn+ssh) returns that same UUID,
the working copy shouldn't care.

And if you look in the .svn/_svn folder in your working copy, and
examine the "entries" file, you'll see that UUID repeated.

(I think this is mentioned in the SVN book or documentation, probably
under administration.)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 30 05:53:18 2007

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.