comparison hgext/hgk.py @ 3800:792e61e9a00a

hgk: show view in short command list
author Matt Mackall <mpm@selenic.com>
date Tue, 05 Dec 2006 16:39:54 -0600
parents 3b4e00cba57a
children abaee83ce0a6
comparison
equal deleted inserted replaced
3799:eb66d76c7746 3800:792e61e9a00a
283 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)) 283 cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
284 ui.debug("running %s\n" % cmd) 284 ui.debug("running %s\n" % cmd)
285 os.system(cmd) 285 os.system(cmd)
286 286
287 cmdtable = { 287 cmdtable = {
288 "view": (view, 288 "^view": (view,
289 [('l', 'limit', '', 'limit number of changes displayed')], 289 [('l', 'limit', '', 'limit number of changes displayed')],
290 'hg view [-l LIMIT] [REVRANGE]'), 290 'hg view [-l LIMIT] [REVRANGE]'),
291 "debug-diff-tree": (difftree, [('p', 'patch', None, 'generate patch'), 291 "debug-diff-tree": (difftree, [('p', 'patch', None, 'generate patch'),
292 ('r', 'recursive', None, 'recursive'), 292 ('r', 'recursive', None, 'recursive'),
293 ('P', 'pretty', None, 'pretty'), 293 ('P', 'pretty', None, 'pretty'),