Debian Codegraph @

doc/html/ext-hgk.html

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" />
7 <title>hgk</title>
8 <link rel="stylesheet" href="../style.css" type="text/css" />
9 </head>
10 <body>
11 <div class="document" id="hgk">
12 <span id="ext-hgk"></span>
13 <h1 class="title">hgk</h1>
14
15 <div class="contents htmlonly topic" id="contents">
16 <p class="topic-title"><a class="reference internal" href="#top">Contents</a></p>
17 <ul class="simple">
18 <li><a class="reference internal" href="#description" id="toc-entry-1">Description</a></li>
19 <li><a class="reference internal" href="#commands" id="toc-entry-2">Commands</a><ul>
20 <li><a class="reference internal" href="#change-navigation" id="toc-entry-3">Change navigation</a></li>
21 </ul>
22 </li>
23 </ul>
24 </div>
25 <p>browse the repository in a graphical way</p>
26 <div class="section" id="description">
27 <h1><a class="toc-backref" href="#contents">Description</a></h1>
28 <p>The hgk extension allows browsing the history of a repository in a
29 graphical way. It requires Tcl/Tk version 8.4 or later. (Tcl/Tk is not
30 distributed with Mercurial.)</p>
31 <p>hgk consists of two parts: a Tcl script that does the displaying and
32 querying of information, and an extension to Mercurial named hgk.py,
33 which provides hooks for hgk to get information. hgk can be found in
34 the contrib directory, and the extension is shipped in the hgext
35 repository, and needs to be enabled.</p>
36 <p>The <a class="reference external" href="hg-view.html"><tt class="docutils literal">hg view</tt></a> command will launch the hgk Tcl script. For this command
37 to work, hgk must be in your search path. Alternately, you can specify
38 the path to hgk in your configuration file:</p>
39 <pre class="literal-block">
40 [hgk]
41 path = /location/of/hgk
42 </pre>
43 <p>hgk can make use of the extdiff extension to visualize revisions.
44 Assuming you had already configured extdiff vdiff command, just add:</p>
45 <pre class="literal-block">
46 [hgk]
47 vdiff=vdiff
48 </pre>
49 <p>Revisions context menu will now display additional entries to fire
50 vdiff on hovered and selected revisions.</p>
51 </div>
52 <div class="section" id="commands">
53 <h1><a class="toc-backref" href="#contents">Commands</a></h1>
54 <div class="section" id="change-navigation">
55 <h2><a class="toc-backref" href="#contents">Change navigation</a></h2>
56 <div class="section" id="view">
57 <h3>view</h3>
58 <p>start interactive history viewer:</p>
59 <pre class="literal-block">
60 hg view [-l LIMIT] [REVRANGE]
61 </pre>
62 <p>start interactive history viewer</p>
63 <p>Options:</p>
64 <table class="docutils option-list" frame="void" rules="none">
65 <col class="option" />
66 <col class="description" />
67 <tbody valign="top">
68 <tr><td class="option-group" colspan="2">
69 <kbd><span class="option">-l</span>, <span class="option">--limit <var>&lt;NUM&gt;</var></span></kbd></td>
70 </tr>
71 <tr><td>&nbsp;</td><td>limit number of changes displayed</td></tr>
72 </tbody>
73 </table>
74 </div>
75 </div>
76 </div>
77 </div>
78 </body>
79 </html>