Show More
@@ -7,31 +7,31 b'' | |||||
7 |
|
7 | |||
8 | '''browse the repository in a graphical way |
|
8 | '''browse the repository in a graphical way | |
9 |
|
9 | |||
10 | The hgk extension allows browsing the history of a repository in a |
|
10 | The hgk extension allows browsing the history of a repository in a graphical | |
11 |
|
|
11 | way. It requires Tcl/Tk version 8.4 or later. (Tcl/Tk is not distributed with | |
12 | distributed with Mercurial.) |
|
12 | Mercurial.) | |
13 |
|
13 | |||
14 | hgk consists of two parts: a Tcl script that does the displaying and |
|
14 | hgk consists of two parts: a Tcl script that does the displaying and querying | |
15 |
|
|
15 | of information, and an extension to Mercurial named hgk.py, which provides | |
16 |
|
|
16 | hooks for hgk to get information. hgk can be found in the contrib directory, | |
17 | the contrib directory, and the extension is shipped in the hgext |
|
17 | and the extension is shipped in the hgext repository, and needs to be enabled. | |
18 | repository, and needs to be enabled. |
|
|||
19 |
|
18 | |||
20 | The hg view command will launch the hgk Tcl script. For this command |
|
19 | The hg view command will launch the hgk Tcl script. For this command to work, | |
21 |
|
|
20 | hgk must be in your search path. Alternately, you can specify the path to hgk | |
22 |
|
|
21 | in your .hgrc file: | |
23 |
|
22 | |||
24 | [hgk] |
|
23 | [hgk] | |
25 | path=/location/of/hgk |
|
24 | path=/location/of/hgk | |
26 |
|
25 | |||
27 | hgk can make use of the extdiff extension to visualize revisions. |
|
26 | hgk can make use of the extdiff extension to visualize revisions. Assuming you | |
28 |
|
|
27 | had already configured extdiff vdiff command, just add: | |
29 |
|
28 | |||
30 | [hgk] |
|
29 | [hgk] | |
31 | vdiff=vdiff |
|
30 | vdiff=vdiff | |
32 |
|
31 | |||
33 | Revisions context menu will now display additional entries to fire |
|
32 | Revisions context menu will now display additional entries to fire vdiff on | |
34 |
|
|
33 | hovered and selected revisions. | |
|
34 | ''' | |||
35 |
|
35 | |||
36 | import os |
|
36 | import os | |
37 | from mercurial import commands, util, patch, revlog, cmdutil |
|
37 | from mercurial import commands, util, patch, revlog, cmdutil |
General Comments 0
You need to be logged in to leave comments.
Login now