commands.sh

hg root

all

Display the root location of a Hg repository.

More info →

Examples (2)

Display the root location of the current repository

Display the root location of the specified repository

hg root --cwd path/to/directory
made by @shridhargupta | data from tldr-pages