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

Re: Weird behavior from checkout

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-03-09 20:01:47 CET

On Mar 9, 2005, at 1:37 PM, Ben Collins-Sussman wrote:

> So what you're seeing here is a widespread consistent behavior across
> all commands:
> svn command -rX path
> 1. go to path@HEAD
> 2. trace rename history back to rX
> 3. use that (possibly different) location in rX
> It just so happens that in the case of 'svn co -rX URL', this new
> syntax and behavior is contradicting an equally valid interpretation
> of what to expect. :-/
> Is this tricky to explain to users? It's not yet documented in the
> book, though I plan to fix that.

That is tricky. I like Daniel's preference. Since if I browse rev X of
the repository and write down the structure I see there, I expect "svn
co -rX URL" to work if I give it one of the URLs I wrote down -
regardless of what might have happened with the specified folder or
file in other revisions.

But... at the same time, I like the ability to specify URLs in the HEAD
and get a trace back to a different URL. For working copies when you
specify a PATH, I think it should take the rev of the PATH in the
working copy as the starting point, not HEAD.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 9 20:02:58 2005

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.