On 25.06.2013, at 20:08, Peter Samuelson wrote:
> [Tobias Bading]
>> Seriously though, what would you have to do if you have the path of a
>> FILE in the working copy and a revision number N and you would like
>> to know what was changed in that file in that revision?
> 
> Something like this:
> 
> $ LC_ALL=C svn log -v -l1 new_foo
> ------------------------------------------------------------------------
> r6 | peters | 2013-06-25 13:05:16 -0500 (Tue, 25 Jun 2013) | 1 line
> Changed paths:
>   A /new_foo (from /foo:1)
> 
> Copied and modified foo@1 to new_foo.
> ------------------------------------------------------------------------
> 
> Parse the "A" line, then use that information to construct a diff
> command line.  Either of the following will work:
> 
>    svn diff -r1:6 new_foo
>    svn diff ^/foo@1 ^/new_foo@6
> 
> Peter

I think I can already hear Emacs developers of both VC camps, the Bazaar'ians 
and the Git'ians, laughing together in harmony in the distance... ;-)
No disrespect & thank you for the hint, but shouldn't a version control system 
be able to answer the question "what's changed?" without making you jump 
through hoops?

Tobias

Reply via email to