You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alberto Alvarez <al...@alvarezgarcia.org> on 2008/06/14 18:56:44 UTC

naming temp files when doing "diff" with "--diff-cmd"

Hi,

This is not a bug, but a request.
When I do "diff" (using an external diff viewer: "--diff-cmd" option) between a revision "x" and my current file, it is 
clear in the diff viewer which one is my file and which one the temp file created from the revision I requested.
The problem is when I diff two revisions. If I pick two revisions (instead of a revision and my current file) the temp 
files created are named "tmp" and "tmp.2", that doesn't help very much to identify the files. I would like that the temp
files were named after their revision number, e.g. "tmp-r10" and "tmp-r13" if I am diffing revisions 10 versus 13.

Regards,

Alberto.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: naming temp files when doing "diff" with "--diff-cmd"

Posted by Branko Čibej <br...@xbc.nu>.
Alberto Alvarez wrote:
> Hi,
>
> This is not a bug, but a request.
> When I do "diff" (using an external diff viewer: "--diff-cmd" option) 
> between a revision "x" and my current file, it is clear in the diff 
> viewer which one is my file and which one the temp file created from 
> the revision I requested.
> The problem is when I diff two revisions. If I pick two revisions 
> (instead of a revision and my current file) the temp files created are 
> named "tmp" and "tmp.2", that doesn't help very much to identify the 
> files. I would like that the temp
> files were named after their revision number, e.g. "tmp-r10" and 
> "tmp-r13" if I am diffing revisions 10 versus 13.

(This question should have gone to the users@ list, but...) your diff 
viewer wrapper recives two -L  parameters (--label in gnu-diff 
terminology) that are the names it should display for the files -- and 
these contain revision numbers.

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org