##// END OF EJS Templates
record: clean up command table...
Kevin Bullock -
r13196:592998ba default
parent child Browse files
Show More
@@ -408,8 +408,6 b' def qrecord(ui, repo, patch, *pats, **op'
408 408 def committomq(ui, repo, *pats, **opts):
409 409 mq.new(ui, repo, patch, *pats, **opts)
410 410
411 opts = opts.copy()
412 opts['force'] = True # always 'qnew -f'
413 411 dorecord(ui, repo, committomq, *pats, **opts)
414 412
415 413
@@ -557,11 +555,7 b' def dorecord(ui, repo, commitfunc, *pats'
557 555
558 556 cmdtable = {
559 557 "record":
560 (record,
561
562 # add commit options
563 commands.table['^commit|ci'][1],
564
558 (record, commands.table['^commit|ci'][1], # same options as commit
565 559 _('hg record [OPTION]... [FILE]...')),
566 560 }
567 561
@@ -574,11 +568,7 b' def uisetup(ui):'
574 568
575 569 qcmdtable = {
576 570 "qrecord":
577 (qrecord,
578
579 # add qnew options, except '--force'
580 [opt for opt in mq.cmdtable['^qnew'][1] if opt[1] != 'force'],
581
571 (qrecord, mq.cmdtable['^qnew'][1], # same options as qnew
582 572 _('hg qrecord [OPTION]... PATCH [FILE]...')),
583 573 }
584 574
General Comments 0
You need to be logged in to leave comments. Login now