equal
deleted
inserted
replaced
35 mergeutil, |
35 mergeutil, |
36 obsolete, |
36 obsolete, |
37 patch, |
37 patch, |
38 pathutil, |
38 pathutil, |
39 pycompat, |
39 pycompat, |
40 registrar, |
|
41 revlog, |
40 revlog, |
42 rewriteutil, |
41 rewriteutil, |
43 scmutil, |
42 scmutil, |
44 smartset, |
43 smartset, |
45 subrepoutil, |
44 subrepoutil, |
3149 |
3148 |
3150 for f in actions['add'][0] + actions['undelete'][0] + actions['revert'][0]: |
3149 for f in actions['add'][0] + actions['undelete'][0] + actions['revert'][0]: |
3151 if f in copied: |
3150 if f in copied: |
3152 repo.dirstate.copy(copied[f], f) |
3151 repo.dirstate.copy(copied[f], f) |
3153 |
3152 |
3154 class command(registrar.command): |
|
3155 """deprecated: used registrar.command instead""" |
|
3156 def _doregister(self, func, name, *args, **kwargs): |
|
3157 func._deprecatedregistrar = True # flag for deprecwarn in extensions.py |
|
3158 return super(command, self)._doregister(func, name, *args, **kwargs) |
|
3159 |
|
3160 # a list of (ui, repo, otherpeer, opts, missing) functions called by |
3153 # a list of (ui, repo, otherpeer, opts, missing) functions called by |
3161 # commands.outgoing. "missing" is "missing" of the result of |
3154 # commands.outgoing. "missing" is "missing" of the result of |
3162 # "findcommonoutgoing()" |
3155 # "findcommonoutgoing()" |
3163 outgoinghooks = util.hooks() |
3156 outgoinghooks = util.hooks() |
3164 |
3157 |