/doc/source/guess.txt

https://bitbucket.org/tortoisehg/hgtk/ · Plain Text · 59 lines · 41 code · 18 blank · 0 comment · 0 complexity · 7372d3e55afd69a7c5a1bac7f6c7cc3d MD5 · raw file

  1. Rename Guessing
  2. ===============
  3. .. module:: guess.dialog
  4. :synopsis: Dialog used to detect copies and/or renames
  5. .. figure:: figures/guess.jpg
  6. :alt: Rename guessing dialog
  7. Rename Guessing Dialog
  8. This dialog is used to find renames, moves, and/or copies that were done
  9. without Mercurial's knowledge. The dialog can be launched from the
  10. shell context menu, or from the status or commit tools via the context
  11. menu of an unknown file.
  12. Follow these steps:
  13. 1) select one or more of the :guilabel:`Unrevisioned Files`
  14. 2) slide the simularity bar to the percentage match you desire
  15. 3) press either :guilabel:`Find Renames` or :guilabel:`Find Copies`.
  16. 4) select candidate matches and accept good matches
  17. 5) repeat until all unrevisioned files are matched
  18. Find Renames
  19. ------------
  20. This feature will search the repository for missing files (files which
  21. were revisioned but are now gone). For each missing file, it compares
  22. the last revisioned data against the unrevisioned file and if the
  23. percentage of matching lines is above the
  24. :guilabel:`Minimum Simularity Percentage`, it adds the pair to the
  25. :guilabel:`Candidate Matches`.
  26. Find Copies
  27. -----------
  28. This feature will check every revisioned file in the repository to see
  29. if it exactly matches the unrevisioned file.
  30. Candidate Matches
  31. -----------------
  32. When you select a match in this list, the differences between the two
  33. files are shown in the bottom pane. Pressing :guilabel:`Accept Match`
  34. will record the rename or copy event with Mercurial.
  35. From command line
  36. -----------------
  37. The guess tool can be started from command line::
  38. hgtk guess
  39. guess previous renames or copies
  40. use "hgtk -v help guess" to show global options
  41. .. vim: noet ts=4