enable editing or reverting resp. in hg extdiff
Georg
gwk.rko at googlemail.com
Mon Aug 6 09:19:06 CDT 2007
Hi,
hg extdiff, with a suitable choice of diff tool, could allow you to
selectively revert lines of your files to a version from the repository.
E.g. with meld, you can click on right arrows or left arrows between the
windows to selectively copy passages from one version of the file into the
other.
The problem is that hg extdiff creates temp files for all file versions
before firing off the external diff tool. I realize that this is a good
thing in general, because many tools (also meld) will show a directory tree
first, and having only changed files contained in that tree makes it much
easier to navigate. I thought, however, that maybe we could have symlinks
for those file versions that are from the current directory tree. Of course
this applies only to cases where one of the extdiff versions is the
directory tree; cases where both versions are picked from the repository
would not be possible using symlinks.
I frequently use hg extdiff for code review right before commit, and I would
very much like to be able to revert some lines at that time.
What do you think?
--
Regards,
Georg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20070806/648c5e3d/attachment.htm
More information about the Mercurial
mailing list