hgext/alias.py
changeset 4807 244a2609c199
parent 4800 6aa1fae4c28a
child 4946 a28661788f2f
equal deleted inserted replaced
4806:15a3cbfc6568 4807:244a2609c199
    40     def _resolve(self):
    40     def _resolve(self):
    41         if self._cmd is not None:
    41         if self._cmd is not None:
    42             return
    42             return
    43 
    43 
    44         try:
    44         try:
    45             self._loading = True
       
    46             self._cmd = findcmd(self._ui, self._target)[1]
    45             self._cmd = findcmd(self._ui, self._target)[1]
    47             if self._cmd == self:
    46             if self._cmd == self:
    48                 raise RecursiveCommand()
    47                 raise RecursiveCommand()
    49             if self._target in commands.norepo.split(' '):
    48             if self._target in commands.norepo.split(' '):
    50                 commands.norepo += ' %s' % self._name
    49                 commands.norepo += ' %s' % self._name