2019-03-26 08:51:54 +00:00
|
|
|
# hg root
|
|
|
|
|
2019-03-26 22:07:08 +00:00
|
|
|
> Display the root location of a Hg repository.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#root>.
|
2019-03-26 08:51:54 +00:00
|
|
|
|
2019-03-26 22:07:08 +00:00
|
|
|
- Display the root location of the current repository:
|
2019-03-26 08:51:54 +00:00
|
|
|
|
|
|
|
`hg root`
|
|
|
|
|
2019-03-26 22:07:08 +00:00
|
|
|
- Display the root location of the specified repository:
|
2019-03-26 08:51:54 +00:00
|
|
|
|
|
|
|
`hg root --cwd {{path/to/directory}}`
|