On Jan 20, 2012, at 16:27 , sebb wrote:

> The command
>    svn log filename
> shows a list of revisions in which filename was changed.
> 
> I would expect
>    svn log --diff filename
> to only show the differences for that file.
> 
> However, it shows the differences for all files changed in each revision.
> Is that really intentional?
> If so, how can I restrict the differences to just a single file?
> 
> I am using:
> 
> svn, version 1.7.2 (r1207936)
>   compiled Nov 29 2011, 22:11:2
> 
> Try the following examples:
> 
> $ svn log -l2 
> http://svn.apache.org/repos/asf/subversion/branches/1.0.x/@848689
> -qv
> 
[...]
> 
> $ svn log -l2 
> http://svn.apache.org/repos/asf/subversion/branches/1.0.x/@848689
> --diff

Have you tried the full path to the file?  The following works for me:

  $ svn log -l2 
http://svn.apache.org/repos/asf/subversion/branches/1.0.x/STATUS@848689 --diff

Regards,
Steve

Reply via email to