Show More
@@ -460,7 +460,10 def qrefresh(origfn, ui, repo, *pats, ** | |||
|
460 | 460 | dorecord(ui, repo, committomq, 'qrefresh', True, *pats, **opts) |
|
461 | 461 | |
|
462 | 462 | # This command registration is replaced during uisetup(). |
|
463 | @command('qrecord', [], _('hg qrecord [OPTION]... PATCH [FILE]...')) | |
|
463 | @command('qrecord', | |
|
464 | [], | |
|
465 | _('hg qrecord [OPTION]... PATCH [FILE]...'), | |
|
466 | inferrepo=True) | |
|
464 | 467 | def qrecord(ui, repo, patch, *pats, **opts): |
|
465 | 468 | '''interactively record a new patch |
|
466 | 469 | |
@@ -659,5 +662,3 def uisetup(ui): | |||
|
659 | 662 | def _wrapcmd(cmd, table, wrapfn, msg): |
|
660 | 663 | entry = extensions.wrapcommand(table, cmd, wrapfn) |
|
661 | 664 | entry[1].append(('i', 'interactive', None, msg)) |
|
662 | ||
|
663 | commands.inferrepo += " record qrecord" |
General Comments 0
You need to be logged in to leave comments.
Login now