On Tue, Mar 27, 2012 at 05:58:58PM +0200, Yves Martin wrote: > Hello, > > I have used "svn log --diff path/to/myfile.txt" > but the command generates history from the current working directory > instead of limiting the report to the provided path. > > Is it the expected behavior ? If not please create an issue in tracker.
Depends on which version of svn you are using. There was a bug in log --diff with moved nodes which was fixed in 1.7.4. Another problem was that if the file was newly added the diff used to be anchored at its parent: http://subversion.tigris.org/issues/show_bug.cgi?id=2873 This was fixed in 1.7.2. Does either of these fixes apply to your situation? In any case, if you're not using Subversion 1.7.4, can you please try to reproduce the problem you are seeing with 1.7.4? If you can reproduce it with 1.7.4, can you please try to provide an example 'svn log' invocation against a public Subversion repository (for instance, http://svn.apache.org/repos/asf) that shows the problem? Please also read this thread on the dev@ list in case it applies to your problem: http://svn.haxx.se/dev/archive-2012-03/0385.shtml Thanks.