##// END OF EJS Templates
updated help text and added manpage section for hg paths...
TK Soh -
r924:ab681ea2 default
parent child Browse files
Show More
@@ -253,6 +253,14 b' manifest [revision]::'
253 parents::
253 parents::
254 Print the working directory's parent revisions.
254 Print the working directory's parent revisions.
255
255
256 paths [NAME]::
257 Show definition of symbolic path name NAME. If no name is given, show
258 definition of available names.
259
260 Path names are defined in the [paths] section of the $HOME/.hgrc and
261 <repo>/.hg/hgrc configuration files. If run outside a repo, 'paths'
262 queries only $HOME/.hgrc.
263
256 pull <repository path>::
264 pull <repository path>::
257 Pull changes from a remote repository to a local one.
265 Pull changes from a remote repository to a local one.
258
266
@@ -876,7 +876,7 b' def parents(ui, repo, rev=None):'
876 show_changeset(ui, repo, changenode=n)
876 show_changeset(ui, repo, changenode=n)
877
877
878 def paths(ui, search = None):
878 def paths(ui, search = None):
879 """show path or list of available paths"""
879 """show definition of symbolic path names"""
880 try:
880 try:
881 repo = hg.repository(ui=ui)
881 repo = hg.repository(ui=ui)
882 except:
882 except:
@@ -1320,7 +1320,7 b' table = {'
1320 "manifest": (manifest, [], 'hg manifest [REV]'),
1320 "manifest": (manifest, [], 'hg manifest [REV]'),
1321 "outgoing": (outgoing, [], 'hg outgoing [DEST]'),
1321 "outgoing": (outgoing, [], 'hg outgoing [DEST]'),
1322 "parents": (parents, [], 'hg parents [REV]'),
1322 "parents": (parents, [], 'hg parents [REV]'),
1323 "paths": (paths, [], 'hg paths [name]'),
1323 "paths": (paths, [], 'hg paths [NAME]'),
1324 "^pull":
1324 "^pull":
1325 (pull,
1325 (pull,
1326 [('u', 'update', None, 'update working directory')],
1326 [('u', 'update', None, 'update working directory')],
General Comments 0
You need to be logged in to leave comments. Login now