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

Re: svn bug

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-11-27 22:53:55 CET

On 11/24/05, Greg Hudson <ghudson@mit.edu> wrote:
> On Thu, 2005-11-24 at 20:32 +0000, Malcolm Rowe wrote:
> > I always figured that 'path@rev' just allowed the user to locate a
> > particular line-of-history, and that the -rREV option then chose the
> > revision to perform the operation on. Given that the default revision
> > for 'cat' is HEAD, I'm surprised that it behaves this way - it seems to
> > conflate the two concepts.
>
> The "svn cat" rules for URLs:
> * The default for the peg rev is HEAD.
> * The default for the operative rev is the peg rev.
>
> Perhaps this is conflation, but it's a whole lot more convenient and
> intuitive to be able to say "svn cat foo@10" than to say "svn cat -r 10
> foo@10".

FWIW, I do agree this is kind of weird. When I answered the original
question I was simply explaining how things with blame currently seem
to work, I wasn't arguing that they were right ;-)

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 27 22:54:56 2005

This is an archived mail posted to the Subversion Dev mailing list.