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

Re: .svn directories

From: Kumaran Santhanam <kumaran_at_tigris.org>
Date: 2003-08-28 01:28:07 CEST

> I've been following this thread for a while as it meandered around, and
> had a question about a use-case I have:
>
> My repos looks like this:
> projects/adium/
> web/visualdistortion
>
> With my live website being a wc of "visualdistortion". Later, I decided
> to add some web documentation to my adium thing ... I check out a
> working copy of adium inside visualdistortion on the webserver.
> Subversion, of course, has no problem with this, but does the meta-data
> in ~/.subversion handle it gracefully?

The algorithm as implemented works like this:

1) Lookup PATH in the hash
2) If match or null, done
3) PATH = dirname(PATH)
4) goto 1

Therefore, it will find the longest possible match in the hash.
So, if you did something like this:

$ cd web/visualdistortion/somewhere
$ svn checkout http://...adium.../ adium
$ cd adium
$ svn status

It should work as expected. I haven't tried this, but now that
you mention it, I will try it at some point.

Kumaran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 28 01:28:58 2003

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.