comparison mercurial/commands.py @ 1470:fb9b84c91222

minor fix on command help docstrings
author TK Soh <teekaysoh@yahoo.com>
date Thu, 27 Oct 2005 13:29:28 -0700
parents 0847c45ffee6
children 3c909a747d7f
comparison
equal deleted inserted replaced
1469:0847c45ffee6 1470:fb9b84c91222
940 pass 940 pass
941 for section, name, value in ui.walkconfig(): 941 for section, name, value in ui.walkconfig():
942 ui.write('%s.%s=%s\n' % (section, name, value)) 942 ui.write('%s.%s=%s\n' % (section, name, value))
943 943
944 def debugsetparents(ui, repo, rev1, rev2=None): 944 def debugsetparents(ui, repo, rev1, rev2=None):
945 """ 945 """manually set the parents of the current working directory
946 manually set the parents of the current working directory
947 946
948 This is useful for writing repository conversion tools, but should 947 This is useful for writing repository conversion tools, but should
949 be used with care. 948 be used with care.
950 """ 949 """
951 950
1283 for n in repo.changelog.heads(): 1282 for n in repo.changelog.heads():
1284 show_changeset(ui, repo, changenode=n, brinfo=br) 1283 show_changeset(ui, repo, changenode=n, brinfo=br)
1285 1284
1286 def identify(ui, repo): 1285 def identify(ui, repo):
1287 """print information about the working copy 1286 """print information about the working copy
1287
1288 Print a short summary of the current state of the repo. 1288 Print a short summary of the current state of the repo.
1289 1289
1290 This summary identifies the repository state using one or two parent 1290 This summary identifies the repository state using one or two parent
1291 hash identifiers, followed by a "+" if there are uncommitted changes 1291 hash identifiers, followed by a "+" if there are uncommitted changes
1292 in the working directory, followed by a list of tags for this revision. 1292 in the working directory, followed by a list of tags for this revision.