| 1 |
.TH HG ROOT "" "" "" |
| 2 |
.SH NAME |
| 3 |
hg root \- print the root (top) of the current working directory |
| 4 |
.\" Man page generated from reStructuredText. |
| 5 |
. |
| 6 |
.SH SYNOPSIS |
| 7 |
.sp |
| 8 |
.nf |
| 9 |
.ft C |
| 10 |
hg root |
| 11 |
.ft P |
| 12 |
.fi |
| 13 |
.SH DESCRIPTION |
| 14 |
.sp |
| 15 |
Print the root directory of the current repository. |
| 16 |
.sp |
| 17 |
Template: |
| 18 |
.sp |
| 19 |
The following keywords are supported in addition to the common template |
| 20 |
keywords and functions. See also \%\fBhg help templates\fP\:. |
| 21 |
.INDENT 0.0 |
| 22 |
.TP |
| 23 |
.B hgpath |
| 24 |
. |
| 25 |
String. Path to the .hg directory. |
| 26 |
.TP |
| 27 |
.B storepath |
| 28 |
. |
| 29 |
String. Path to the directory holding versioned data. |
| 30 |
.UNINDENT |
| 31 |
.sp |
| 32 |
Returns 0 on success. |
| 33 |
.SH OPTIONS |
| 34 |
.INDENT 0.0 |
| 35 |
.TP |
| 36 |
.B \-\-share\-source |
| 37 |
. |
| 38 |
print the share source root instead |
| 39 |
.TP |
| 40 |
.BI \-T, \-\-template \ <TEMPLATE> |
| 41 |
. |
| 42 |
display with template |
| 43 |
.UNINDENT |
| 44 |
.\" Generated by docutils manpage writer. |
| 45 |
.\" |
| 46 |
. |