Reputation: 51837
Obviously I can do something like cat .hg/hgrc
on *nix to see the paths I have configured, but is there a built-in Mercurial command? A Google search for "hg list configured urls" didn't seem to have any useful results, and neither does hg help urls
(that I noticed).
Is there any command that will display the urls I have configured?
Upvotes: 2
Views: 74
Reputation: 1513
The correct answer is indeed hg paths
as smooth reggae wrote, but so you know, there's also the showconfig
command, which will show you any section(s) of the combined config files.
There's not much point in using hg showconfig paths
, which is longer to type, but it's useful for quickly checking the value of other configuration settings.
Upvotes: 1
Reputation: 2219
hg paths
is what you are looking for. hg help paths
will give you more information.
Upvotes: 4