mercurial/commands.py
changeset 841 03cc2ba291d1
parent 840 141744605b51
child 842 8fb488773063
equal deleted inserted replaced
840:141744605b51 841:03cc2ba291d1
  1141     return repo.verify()
  1141     return repo.verify()
  1142 
  1142 
  1143 # Command options and aliases are listed here, alphabetically
  1143 # Command options and aliases are listed here, alphabetically
  1144 
  1144 
  1145 table = {
  1145 table = {
  1146     "^add": (add,
  1146     "^add":
  1147              [('I', 'include', [], 'include path in search'),
  1147         (add,
  1148               ('X', 'exclude', [], 'exclude path from search')],
  1148          [('I', 'include', [], 'include path in search'),
  1149              "hg add [FILE]..."),
  1149           ('X', 'exclude', [], 'exclude path from search')],
  1150     "addremove": (addremove,
  1150          "hg add [FILE]..."),
  1151                   [('I', 'include', [], 'include path in search'),
  1151     "addremove":
  1152                    ('X', 'exclude', [], 'exclude path from search')],
  1152         (addremove,
  1153                   "hg addremove [OPTION]... [FILE]..."),
  1153          [('I', 'include', [], 'include path in search'),
       
  1154           ('X', 'exclude', [], 'exclude path from search')],
       
  1155          "hg addremove [OPTION]... [FILE]..."),
  1154     "^annotate":
  1156     "^annotate":
  1155         (annotate,
  1157         (annotate,
  1156          [('r', 'rev', '', 'revision'),
  1158          [('r', 'rev', '', 'revision'),
  1157           ('u', 'user', None, 'show user'),
  1159           ('u', 'user', None, 'show user'),
  1158           ('n', 'number', None, 'show revision number'),
  1160           ('n', 'number', None, 'show revision number'),
  1182     "copy": (copy, [], 'hg copy SOURCE DEST'),
  1184     "copy": (copy, [], 'hg copy SOURCE DEST'),
  1183     "debugcheckstate": (debugcheckstate, [], 'debugcheckstate'),
  1185     "debugcheckstate": (debugcheckstate, [], 'debugcheckstate'),
  1184     "debugstate": (debugstate, [], 'debugstate'),
  1186     "debugstate": (debugstate, [], 'debugstate'),
  1185     "debugindex": (debugindex, [], 'debugindex FILE'),
  1187     "debugindex": (debugindex, [], 'debugindex FILE'),
  1186     "debugindexdot": (debugindexdot, [], 'debugindexdot FILE'),
  1188     "debugindexdot": (debugindexdot, [], 'debugindexdot FILE'),
  1187     "debugwalk": (debugwalk,
  1189     "debugwalk":
  1188                   [('I', 'include', [], 'include path in search'),
  1190         (debugwalk,
  1189                    ('X', 'exclude', [], 'exclude path from search')],
  1191          [('I', 'include', [], 'include path in search'),
  1190                   'debugwalk [OPTIONS]... [FILE]...'),
  1192           ('X', 'exclude', [], 'exclude path from search')],
       
  1193          'debugwalk [OPTIONS]... [FILE]...'),
  1191     "^diff":
  1194     "^diff":
  1192         (diff,
  1195         (diff,
  1193          [('r', 'rev', [], 'revision'),
  1196          [('r', 'rev', [], 'revision'),
  1194           ('I', 'include', [], 'include path in search'),
  1197           ('I', 'include', [], 'include path in search'),
  1195           ('X', 'exclude', [], 'exclude path from search')],
  1198           ('X', 'exclude', [], 'exclude path from search')],
  1196          'hg diff [-r REV1 [-r REV2]] [FILE]...'),
  1199          'hg diff [-r REV1 [-r REV2]] [FILE]...'),
  1197     "^export":
  1200     "^export":
  1198         (export,
  1201         (export,
  1199          [('o', 'output', "", 'output to file')],
  1202          [('o', 'output', "", 'output to file')],
  1200          "hg export [-o OUTFILE] REV..."),
  1203          "hg export [-o OUTFILE] REV..."),
  1201     "forget": (forget,
  1204     "forget":
  1202                [('I', 'include', [], 'include path in search'),
  1205         (forget,
  1203                 ('X', 'exclude', [], 'exclude path from search')],
  1206          [('I', 'include', [], 'include path in search'),
  1204                "hg forget FILE..."),
  1207           ('X', 'exclude', [], 'exclude path from search')],
       
  1208          "hg forget FILE..."),
  1205     "heads": (heads, [], 'hg heads'),
  1209     "heads": (heads, [], 'hg heads'),
  1206     "help": (help_, [], 'hg help [COMMAND]'),
  1210     "help": (help_, [], 'hg help [COMMAND]'),
  1207     "identify|id": (identify, [], 'hg identify'),
  1211     "identify|id": (identify, [], 'hg identify'),
  1208     "import|patch":
  1212     "import|patch":
  1209         (import_,
  1213         (import_,