Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 924:ab681ea2857e
updated help text and added manpage section for hg paths
Index: hg/doc/hg.1.txt
===================================================================
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Tue, 16 Aug 2005 17:30:41 -0800 |
parents | 1a51fa1b3513 |
children | 5a830d7bea52 |
comparison
equal
deleted
inserted
replaced
923:c7a3b88505cd | 924:ab681ea2857e |
---|---|
874 for n in p: | 874 for n in p: |
875 if n != hg.nullid: | 875 if n != hg.nullid: |
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: |
883 pass | 883 pass |
884 | 884 |
1318 ('p', 'patch', None, 'show patch')], | 1318 ('p', 'patch', None, 'show patch')], |
1319 'hg log [-r REV1 [-r REV2]] [-p] [FILE]'), | 1319 'hg log [-r REV1 [-r REV2]] [-p] [FILE]'), |
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')], |
1327 'hg pull [-u] [SOURCE]'), | 1327 'hg pull [-u] [SOURCE]'), |
1328 "^push": | 1328 "^push": |