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

Re: svn cat doesn't work on moved files

From: Robert Pluim <rpluim_at_bigfoot.com>
Date: 2003-03-28 00:00:52 CET

Tobias Ringstrom writes:
>
> I can imagine needing both methods. How about changing -r to follow
> history through the moves to wc/bar in rev X, and implement -R to go
> straight to wc/foo in rev X as -r does now?
>
> That way we get the following meanings of -r and -R:
>
> -rX: First locate the object using the specified name in the wc, then
> trace history backwards to revision X. If an URL is used, the HEAD
> version of the repo is used to identify the object whose history is
> traced back to rev X.
>
> -RX: In version X of the repository, locate the object by the specified
> name.

When used with an URL, what's going to be the common case? I suspect
it's "give me the file that at rev X was called this", so I'd be tempted
to swap your -R and -r around. That means that my interpretation of
'svn cat -r wc/foo' would have to change, but that's no big deal.
Michael, consider me <unwacked> ;-)

-- 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 28 00:01:00 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.