hg paths

TK Soh teekaysoh at yahoo.com
Sat Jul 2 14:46:04 UTC 2005


--- Thomas Arendsen Hein <thomas at intevation.de> wrote:
> * TK Soh <teekaysoh at yahoo.com> [20050702 08:22]:
> > The following patch adds the 'paths' commands to show a named path, or list
> of
> > available paths. In case anyone find it useful.
> 
> I'd rather suggest a 'hg config|rc [section]' command which
> outputs all settings learned from ~/.hgrc and .hg/hgrc. The output
> format can be identical to the format of the files.
> 
> With section given, only items from that section will be printed, so
> 'hg config paths' will do what you want.

Actually I thought about 'rc' too, but decide to go with 'paths' first, since
it's the easier hack - my original motive was to have an easy way to find out
the parent repo (the 'default' path) is, and I keep mixing up between the 'hg'
and 'main' paths somehow.

Certainly 'config|rc' is useful in its own right.



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com



More information about the Mercurial mailing list