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