##// END OF EJS Templates
hgk: remove repetitious (and wrong) command syntax descriptions
Andrew Shadura -
r24511:0ecc1e42 default
parent child Browse files
Show More
@@ -50,7 +50,7 b" testedwith = 'internal'"
50 ('s', 'stdin', None, _('stdin')),
50 ('s', 'stdin', None, _('stdin')),
51 ('C', 'copy', None, _('detect copies')),
51 ('C', 'copy', None, _('detect copies')),
52 ('S', 'search', "", _('search'))],
52 ('S', 'search', "", _('search'))],
53 ('hg git-diff-tree [OPTION]... NODE1 NODE2 [FILE]...'),
53 ('[OPTION]... NODE1 NODE2 [FILE]...'),
54 inferrepo=True)
54 inferrepo=True)
55 def difftree(ui, repo, node1=None, node2=None, *files, **opts):
55 def difftree(ui, repo, node1=None, node2=None, *files, **opts):
56 """diff trees from two commits"""
56 """diff trees from two commits"""
@@ -138,7 +138,7 b' def catcommit(ui, repo, n, prefix, ctx=N'
138 if prefix:
138 if prefix:
139 ui.write('\0')
139 ui.write('\0')
140
140
141 @command('debug-merge-base', [], _('hg debug-merge-base REV REV'))
141 @command('debug-merge-base', [], _('REV REV'))
142 def base(ui, repo, node1, node2):
142 def base(ui, repo, node1, node2):
143 """output common ancestor information"""
143 """output common ancestor information"""
144 node1 = repo.lookup(node1)
144 node1 = repo.lookup(node1)
@@ -148,7 +148,7 b' def base(ui, repo, node1, node2):'
148
148
149 @command('debug-cat-file',
149 @command('debug-cat-file',
150 [('s', 'stdin', None, _('stdin'))],
150 [('s', 'stdin', None, _('stdin'))],
151 _('hg debug-cat-file [OPTION]... TYPE FILE'),
151 _('[OPTION]... TYPE FILE'),
152 inferrepo=True)
152 inferrepo=True)
153 def catfile(ui, repo, type=None, r=None, **opts):
153 def catfile(ui, repo, type=None, r=None, **opts):
154 """cat a specific revision"""
154 """cat a specific revision"""
@@ -300,7 +300,7 b' def revtree(ui, args, repo, full="tree",'
300
300
301 @command('debug-rev-parse',
301 @command('debug-rev-parse',
302 [('', 'default', '', _('ignored'))],
302 [('', 'default', '', _('ignored'))],
303 _('hg debug-rev-parse REV'))
303 _('REV'))
304 def revparse(ui, repo, *revs, **opts):
304 def revparse(ui, repo, *revs, **opts):
305 """parse given revisions"""
305 """parse given revisions"""
306 def revstr(rev):
306 def revstr(rev):
@@ -322,7 +322,7 b' def revparse(ui, repo, *revs, **opts):'
322 ('t', 'topo-order', None, _('topo-order')),
322 ('t', 'topo-order', None, _('topo-order')),
323 ('p', 'parents', None, _('parents')),
323 ('p', 'parents', None, _('parents')),
324 ('n', 'max-count', 0, _('max-count'))],
324 ('n', 'max-count', 0, _('max-count'))],
325 ('hg debug-rev-list [OPTION]... REV...'))
325 ('[OPTION]... REV...'))
326 def revlist(ui, repo, *revs, **opts):
326 def revlist(ui, repo, *revs, **opts):
327 """print revisions"""
327 """print revisions"""
328 if opts['header']:
328 if opts['header']:
@@ -344,7 +344,7 b' def config(ui, repo, **opts):'
344 @command('view',
344 @command('view',
345 [('l', 'limit', '',
345 [('l', 'limit', '',
346 _('limit number of changes displayed'), _('NUM'))],
346 _('limit number of changes displayed'), _('NUM'))],
347 _('hg view [-l LIMIT] [REVRANGE]'))
347 _('[-l LIMIT] [REVRANGE]'))
348 def view(ui, repo, *etc, **opts):
348 def view(ui, repo, *etc, **opts):
349 "start interactive history viewer"
349 "start interactive history viewer"
350 os.chdir(repo.root)
350 os.chdir(repo.root)
General Comments 0
You need to be logged in to leave comments. Login now