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

Re: svn blame on trunk

From: Josh Pieper <jjp_at_pobox.com>
Date: 2004-11-12 18:26:03 CET

Ben Reser wrote:
> This would show you the blame from r1 to r200, but only for the file
> up to r99 because it was deleted in r100.
>
> svn blame -r 1:200 foo@150
>
> This would show you the blame from r1 to r200 but only for the file that
> was newly added in r125 so really it's restricted to r125:200.
>
> If you do not pass a pegrev then the command pegs against the end
> revision of the range you pass. So:
>
> svn blame -r 1:200 foo
>
> Would peg against r200. Which means assuming the file that was added in
> r125 is still there in r200 then it would show you the blame from r125
> to r200.

Actually at the moment the peg revision always defaults to HEAD for
URLs and WORKING for WC paths. ghudson suggested that we default the
end revision to PEG if it was specified, but that suggestion was
somewhat controversial and there were some objections.

-Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 12 18:26:15 2004

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.