hgext/record.py
changeset 40293 c303d65d2e34
parent 35403 154e822bf514
child 40295 fa88170c10bb
equal deleted inserted replaced
40292:9c6473d2038b 40293:c303d65d2e34
    32 
    32 
    33 @command("record",
    33 @command("record",
    34          # same options as commit + white space diff options
    34          # same options as commit + white space diff options
    35         [c for c in commands.table['^commit|ci'][1][:]
    35         [c for c in commands.table['^commit|ci'][1][:]
    36             if c[1] != "interactive"] + cmdutil.diffwsopts,
    36             if c[1] != "interactive"] + cmdutil.diffwsopts,
    37           _('hg record [OPTION]... [FILE]...'))
    37           _('hg record [OPTION]... [FILE]...'),
       
    38         helpcategory=command.CATEGORY_COMMITTING)
    38 def record(ui, repo, *pats, **opts):
    39 def record(ui, repo, *pats, **opts):
    39     '''interactively select changes to commit
    40     '''interactively select changes to commit
    40 
    41 
    41     If a list of files is omitted, all changes reported by :hg:`status`
    42     If a list of files is omitted, all changes reported by :hg:`status`
    42     will be candidates for recording.
    43     will be candidates for recording.
    92 
    93 
    93 # This command registration is replaced during uisetup().
    94 # This command registration is replaced during uisetup().
    94 @command('qrecord',
    95 @command('qrecord',
    95     [],
    96     [],
    96     _('hg qrecord [OPTION]... PATCH [FILE]...'),
    97     _('hg qrecord [OPTION]... PATCH [FILE]...'),
       
    98     helpcategory=command.CATEGORY_COMMITTING,
    97     inferrepo=True)
    99     inferrepo=True)
    98 def qrecord(ui, repo, patch, *pats, **opts):
   100 def qrecord(ui, repo, patch, *pats, **opts):
    99     '''interactively record a new patch
   101     '''interactively record a new patch
   100 
   102 
   101     See :hg:`help qnew` & :hg:`help record` for more information and
   103     See :hg:`help qnew` & :hg:`help record` for more information and