How to get the remote server hg path?

hg paths gives the relationship between each path name and its url.

> hg paths
default = ssh://hg@example.org/repo
local = /local/path/to/repo

hg paths <name> gives the url for the name.

> hg paths default
ssh://hg@example.org/repo

> hg paths local
/local/path/to/repo

BTW, to get just the path names:

> hg paths -q
default
local

and hg paths -q <name> will always result in no output.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)