diff --git a/pages/common/hg-root.md b/pages/common/hg-root.md new file mode 100644 index 0000000000..e141ee4db8 --- /dev/null +++ b/pages/common/hg-root.md @@ -0,0 +1,12 @@ +# hg root + +> Display the root location for a Hg repository. +> Homepage: . + +- Display the root location for the current repository: + +`hg root` + +- Display the root location for the specified repository: + +`hg root --cwd {{path/to/directory}}`