updated help text and added manpage section for hg paths
Index: hg/doc/hg.1.txt
===================================================================
--- a/doc/hg.1.txt Tue Aug 16 17:12:25 2005 -0800
+++ b/doc/hg.1.txt Tue Aug 16 17:30:41 2005 -0800
@@ -253,6 +253,14 @@
parents::
Print the working directory's parent revisions.
+paths [NAME]::
+ Show definition of symbolic path name NAME. If no name is given, show
+ definition of available names.
+
+ Path names are defined in the [paths] section of the $HOME/.hgrc and
+ <repo>/.hg/hgrc configuration files. If run outside a repo, 'paths'
+ queries only $HOME/.hgrc.
+
pull <repository path>::
Pull changes from a remote repository to a local one.
--- a/mercurial/commands.py Tue Aug 16 17:12:25 2005 -0800
+++ b/mercurial/commands.py Tue Aug 16 17:30:41 2005 -0800
@@ -876,7 +876,7 @@
show_changeset(ui, repo, changenode=n)
def paths(ui, search = None):
- """show path or list of available paths"""
+ """show definition of symbolic path names"""
try:
repo = hg.repository(ui=ui)
except:
@@ -1320,7 +1320,7 @@
"manifest": (manifest, [], 'hg manifest [REV]'),
"outgoing": (outgoing, [], 'hg outgoing [DEST]'),
"parents": (parents, [], 'hg parents [REV]'),
- "paths": (paths, [], 'hg paths [name]'),
+ "paths": (paths, [], 'hg paths [NAME]'),
"^pull":
(pull,
[('u', 'update', None, 'update working directory')],