I have have created remote repo to push my local changes over ssl. I did hg showconfig --debug
to find my remote hg path but it messy can some one point me how to exactly find it what is it.
1 Answer
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.
-
3Some added info:
hg paths
(with no parameter) shows all URLs for any symbolic paths (shortcuts) you have defined in~/.hgrc
combined with the paths identified in the/.../<repo>/.hg/hgrc
file if you are in a specific local repository. I am using Mercurial 3.3. Not sure about older versions. Aug 30, 2015 at 16:54