I've pushed a new rename dialog to my thg-crew-steve repository on
bitbucket.  It's
currently only reachable via 'hgtk guess'.  It is a GUI interface to
Mercurial's addremove
command with a couple of twists:

* The list of renames that hg detects is presented for your review
(these are pairs that
hg would have declared rename source and destination).  From this list
you can examine
diffs from the source to the destination and if you agree with the
matches you 'accept' them.

* You can also detect copies.  The difference between rename checks
and copy checks are
the scope.  Rename checks only compare missing (deleted) files against
unknown files..
the kind of situation you get when you mv a revisioned file.  When
detecting copies, it
checks every revisioned file to see if it exactly matches the
unrevisioned file.  Addremove
does not offer this option.

Eventually this should be a shell context menu option, and probably a
'?' context menu option
in the status/commit tool. I'm even thinking about popping up a dialog
when the commit
tool is launched and we find both unknown and missing files in the
repository.  The dialog
would tell the user "It looks like you have renamed files, would you
like TortoiseHg to guess
those renames or copies?".

Copy detection is obviously expensive in disk IO and computation, so
this operation needs
to be threaded (couldn't hurt to thread rename detection as well).
But the dialog essentially
works as it is.  Please have a try.  Let me know what you think

--
Steve

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to