[PATCH] extdiff: single file diffs from the wc without making a copy
Peter Williams
pwil3058 at bigpond.net.au
Mon Aug 6 19:49:58 CDT 2007
Brad Schick wrote:
> # HG changeset patch
> # User Brad Schick <schickb at gmail.com>
> # Date 1186375074 25200
> # Node ID 54e960401474f64445e35351be1590782bbd7c6e
> # Parent 8d9bdcbb2b1852d2507cbb7e5d922f549f73f19d
> extdiff: single file diffs from the wc without making a copy
>
> Extdiff was always making a temporary directory and copying files even
> when not required. This change makes extdiff avoid the copy when diffing
> a single file that lives in the wc. This lets external diff tools edit
> the working copy file directly. It also lets other extensions resuse the
> functions in extdiff and get in-place diffs.
It would be nice if extdiff used symbolic links instead of copy for wc
files when multiple files are being viewed. This would allow the above
mentioned editing in the multi file case as well.
The ability to be able to edit wc files using extdiff's equivalent in
quilt is the only thing that I've missed since switching over to mq.
Peter
--
Peter Williams pwil3058 at bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
More information about the Mercurial-devel
mailing list