# HG changeset patch # User TK Soh # Date 1124242241 28800 # Node ID ab681ea2857e9d48cf8483963ea40e4df7724197 # Parent c7a3b88505cd2f274006be02405d22c4e2f5bdc3 updated help text and added manpage section for hg paths Index: hg/doc/hg.1.txt =================================================================== diff -r c7a3b88505cd -r ab681ea2857e 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 + /.hg/hgrc configuration files. If run outside a repo, 'paths' + queries only $HOME/.hgrc. + pull :: Pull changes from a remote repository to a local one. diff -r c7a3b88505cd -r ab681ea2857e mercurial/commands.py --- 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')],