PageRenderTime 59ms CodeModel.GetById 55ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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