Debian Codegraph @

doc/html/hg-root.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>hg root</title>
8 <link rel="stylesheet" href="../style.css" type="text/css" />
9 </head>
10 <body>
11 <div class="document" id="hg-root">
12 <span id="hg-root-1"></span>
13 <h1 class="title">hg root</h1>
14 <h2 class="subtitle" id="print-the-root-top-of-the-current-working-directory">print the root (top) of the current working directory</h2>
15
16 <div class="contents htmlonly topic" id="contents">
17 <p class="topic-title"><a class="reference internal" href="#top">Contents</a></p>
18 <ul class="simple">
19 <li><a class="reference internal" href="#synopsis" id="toc-entry-1">Synopsis</a></li>
20 <li><a class="reference internal" href="#description" id="toc-entry-2">Description</a></li>
21 <li><a class="reference internal" href="#options" id="toc-entry-3">Options</a></li>
22 </ul>
23 </div>
24 <div class="section" id="synopsis">
25 <h1><a class="toc-backref" href="#contents">Synopsis</a></h1>
26 <pre class="literal-block">
27 hg root
28 </pre>
29 </div>
30 <div class="section" id="description">
31 <h1><a class="toc-backref" href="#contents">Description</a></h1>
32 <p>Print the root directory of the current repository.</p>
33 <div class="verbose docutils container">
34 <p>Template:</p>
35 <p>The following keywords are supported in addition to the common template
36 keywords and functions. See also <a class="reference external" href="hg.1.html#templates"><tt class="docutils literal">hg help templates</tt></a>.</p>
37 <table class="docutils field-list" frame="void" rules="none">
38 <col class="field-name" />
39 <col class="field-body" />
40 <tbody valign="top">
41 <tr class="field"><th class="field-name">hgpath:</th><td class="field-body">String. Path to the .hg directory.</td>
42 </tr>
43 <tr class="field"><th class="field-name">storepath:</th><td class="field-body">String. Path to the directory holding versioned data.</td>
44 </tr>
45 </tbody>
46 </table>
47 </div>
48 <p>Returns 0 on success.</p>
49 </div>
50 <div class="section" id="options">
51 <h1><a class="toc-backref" href="#contents">Options</a></h1>
52 <table class="docutils option-list" frame="void" rules="none">
53 <col class="option" />
54 <col class="description" />
55 <tbody valign="top">
56 <tr><td class="option-group">
57 <kbd><span class="option">--share-source</span></kbd></td>
58 <td>print the share source root instead</td></tr>
59 <tr><td class="option-group" colspan="2">
60 <kbd><span class="option">-T</span>, <span class="option">--template <var>&lt;TEMPLATE&gt;</var></span></kbd></td>
61 </tr>
62 <tr><td>&nbsp;</td><td>display with template</td></tr>
63 </tbody>
64 </table>
65 </div>
66 </div>
67 </body>
68 </html>