equal
deleted
inserted
replaced
322 try: |
322 try: |
323 return wrapfn(*args, **kwargs) |
323 return wrapfn(*args, **kwargs) |
324 except TypeError, e: |
324 except TypeError, e: |
325 if len(args) > wrapfn.func_code.co_argcount: |
325 if len(args) > wrapfn.func_code.co_argcount: |
326 raise util.Abort(_('--graph option allows at most one file')) |
326 raise util.Abort(_('--graph option allows at most one file')) |
|
327 raise |
327 return orig(*args, **kwargs) |
328 return orig(*args, **kwargs) |
328 entry = extensions.wrapcommand(table, cmd, graph) |
329 entry = extensions.wrapcommand(table, cmd, graph) |
329 entry[1].append(('G', 'graph', None, _("show the revision DAG"))) |
330 entry[1].append(('G', 'graph', None, _("show the revision DAG"))) |
330 |
331 |
331 cmdtable = { |
332 cmdtable = { |