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

Re: svn diff command line tool bug

From: Andreas Stieger <andreas.stieger_at_gmx.de>
Date: Fri, 11 May 2012 08:35:54 +0100

Hello,

On 10/05/12 21:03, asdfasd asdfasdf wrote:
> svn.exe diff --revision 1:2 --summarize
> "https://domain:port/svn/my_repo_name/plugins/myPluginName"
>
> A
> https://domain:port/svn/my_repo_name/plugins/myPluginName/myPluginName/file1.txt
> A
> https://domain:port/svn/my_repo_name/plugins/myPluginName/myPluginName/file2.txt
> ....................
> A
> https://domain:port/svn/my_repo_name/plugins/myPluginName/myPluginName/fileN.txt
>
> "myPluginName" part included twice, which is wrong. I think this bug
> is happening because path /plugins appeared in the 2nd revision.
>
> However when I do
> svn.exe diff --revision 2:3 --summarize
> "https://domain:port/svn/my_repo_name/plugins/myPluginName"
> I am getting correct paths:
> A https://domain:port/svn/my_repo_name/plugins/myPluginName/fileA.txt
> A https://domain:port/svn/my_repo_name/plugins/myPluginName/fileB.txt
> ....................
> A https://domain:port/svn/my_repo_name/plugins/myPluginName/fileZ.txt

This is not a bug. The first diff summary shows added files in a path.
The second one shows other files being added to another path. You may
have added files with the same content and names twice to different
paths and the diff summary shows the correct output for what was
actually done in the repository.

Andreas
Received on 2012-05-11 09:36:32 CEST

This is an archived mail posted to the Subversion Dev mailing list.