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

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

From: Branko ─îibej <brane_at_xbc.nu>
Date: Sun, 15 Jun 2008 03:50:44 +0200

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_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-15 03:51:30 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.