CmdID / Commands
Display the root location of a Hg repository. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Display the root location of the current repository
hg root
Display the root location of the specified repository
hg root --cwd path/to/directory