[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

Reply via email to