hg root - print the root (top) of the current working directory
Contents
Description
Print the root directory of the current repository.
Template:
The following keywords are supported in addition to the common template keywords and functions. See also
hghelptemplates.
hgpath String. Path to the .hg directory.
storepath
String. Path to the directory holding versioned data.
Returns 0 on success.
Name
hg root - print the root (top) of the current working directory
Options
-T,--template<TEMPLATE>
display with template
HG(ROOT)
Synopsis
hg root
