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

RE: what's a "trail url"?

From: Sander Striker <striker_at_apache.org>
Date: 2003-10-30 19:16:34 CET

> From: Jack Repenning [mailto:jrepenning@collab.net]
> Sent: Thursday, October 30, 2003 7:01 PM

> At 12:51 PM +0000 10/30/03, Philip Martin wrote:
> >In my first reply in the thread I wrote:
> >
> > "The trail URL is optional, if you don't supply it svnversion will not
> > check whether the working copy root is switched, although it will
> > still detect switches within the working copy."
> >
> >I still think that's the answer to your question :-)
>
> I'm not contesting that ... but I'm still unable to follow it :-(
> What's the difference between "working copy root is switched" and
> "switches within the working copy"? Does "within" mean "at some
> directory level below the root" (producing what I meant by "mixed
> revisions," though? And the idea then would be: the user provides a
> trail_url that matches the "root", and svn checks whether that
> trail_url is a substring of the URL from which each directory was
> loaded?

You can't detect a switch of the root. The root is at some url U.
Now, when you walk down into the walking copy visiting child directories,
you can detect if the urls for those match U at the start. If not, they
are switched. To detect if the root is switched you therefor have to
provide a url to match against yourself AIUI.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 30 19:17:22 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.