mercurial/commands.py
changeset 2416 04736f38d74f
parent 2415 dec79ed61ee1
child 2417 3a4ae3970af3
equal deleted inserted replaced
2415:dec79ed61ee1 2416:04736f38d74f
  2806 table = {
  2806 table = {
  2807     "^add":
  2807     "^add":
  2808         (add,
  2808         (add,
  2809          [('I', 'include', [], _('include names matching the given patterns')),
  2809          [('I', 'include', [], _('include names matching the given patterns')),
  2810           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  2810           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  2811           ('n', 'dry-run', None, _('print what would be done'))],
  2811           ('n', 'dry-run', None, _('do not perform actions, just print output'))],
  2812          _('hg add [OPTION]... [FILE]...')),
  2812          _('hg add [OPTION]... [FILE]...')),
  2813     "debugaddremove|addremove":
  2813     "debugaddremove|addremove":
  2814         (addremove,
  2814         (addremove,
  2815          [('I', 'include', [], _('include names matching the given patterns')),
  2815          [('I', 'include', [], _('include names matching the given patterns')),
  2816           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  2816           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  2817           ('n', 'dry-run', None, _('print what would be done'))],
  2817           ('n', 'dry-run', None, _('do not perform actions, just print output'))],
  2818          _('hg addremove [OPTION]... [FILE]...')),
  2818          _('hg addremove [OPTION]... [FILE]...')),
  2819     "^annotate":
  2819     "^annotate":
  2820         (annotate,
  2820         (annotate,
  2821          [('r', 'rev', '', _('annotate the specified revision')),
  2821          [('r', 'rev', '', _('annotate the specified revision')),
  2822           ('a', 'text', None, _('treat all files as text')),
  2822           ('a', 'text', None, _('treat all files as text')),
  2885          [('A', 'after', None, _('record a copy that has already occurred')),
  2885          [('A', 'after', None, _('record a copy that has already occurred')),
  2886           ('f', 'force', None,
  2886           ('f', 'force', None,
  2887            _('forcibly copy over an existing managed file')),
  2887            _('forcibly copy over an existing managed file')),
  2888           ('I', 'include', [], _('include names matching the given patterns')),
  2888           ('I', 'include', [], _('include names matching the given patterns')),
  2889           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  2889           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  2890           ('n', 'dry-run', None, _('print what would be done'))],
  2890           ('n', 'dry-run', None, _('do not perform actions, just print output'))],
  2891          _('hg copy [OPTION]... [SOURCE]... DEST')),
  2891          _('hg copy [OPTION]... [SOURCE]... DEST')),
  2892     "debugancestor": (debugancestor, [], _('debugancestor INDEX REV1 REV2')),
  2892     "debugancestor": (debugancestor, [], _('debugancestor INDEX REV1 REV2')),
  2893     "debugcomplete":
  2893     "debugcomplete":
  2894         (debugcomplete,
  2894         (debugcomplete,
  2895          [('o', 'options', None, _('show the command options'))],
  2895          [('o', 'options', None, _('show the command options'))],
  3068          [('A', 'after', None, _('record a rename that has already occurred')),
  3068          [('A', 'after', None, _('record a rename that has already occurred')),
  3069           ('f', 'force', None,
  3069           ('f', 'force', None,
  3070            _('forcibly copy over an existing managed file')),
  3070            _('forcibly copy over an existing managed file')),
  3071           ('I', 'include', [], _('include names matching the given patterns')),
  3071           ('I', 'include', [], _('include names matching the given patterns')),
  3072           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  3072           ('X', 'exclude', [], _('exclude names matching the given patterns')),
  3073           ('n', 'dry-run', None, _('print what would be done'))],
  3073           ('n', 'dry-run', None, _('do not perform actions, just print output'))],
  3074          _('hg rename [OPTION]... SOURCE... DEST')),
  3074          _('hg rename [OPTION]... SOURCE... DEST')),
  3075     "^revert":
  3075     "^revert":
  3076         (revert,
  3076         (revert,
  3077          [('r', 'rev', '', _('revision to revert to')),
  3077          [('r', 'rev', '', _('revision to revert to')),
  3078           ('', 'no-backup', None, _('do not save backup copies of files')),
  3078           ('', 'no-backup', None, _('do not save backup copies of files')),
  3079           ('I', 'include', [], _('include names matching given patterns')),
  3079           ('I', 'include', [], _('include names matching given patterns')),
  3080           ('X', 'exclude', [], _('exclude names matching given patterns')),
  3080           ('X', 'exclude', [], _('exclude names matching given patterns')),
  3081           ('n', 'dry-run', None, _('print what would be done'))],
  3081           ('n', 'dry-run', None, _('do not perform actions, just print output'))],
  3082          _('hg revert [-r REV] [NAME]...')),
  3082          _('hg revert [-r REV] [NAME]...')),
  3083     "rollback": (rollback, [], _('hg rollback')),
  3083     "rollback": (rollback, [], _('hg rollback')),
  3084     "root": (root, [], _('hg root')),
  3084     "root": (root, [], _('hg root')),
  3085     "^serve":
  3085     "^serve":
  3086         (serve,
  3086         (serve,