mercurial/subrepo.py
changeset 29389 98e8313dcd9e
parent 29341 0d83ad967bf8
child 29510 19205a0e2bf1
equal deleted inserted replaced
29388:f694e20193f2 29389:98e8313dcd9e
  1412             # there are certain error codes that are ok
  1412             # there are certain error codes that are ok
  1413             command = commands[0]
  1413             command = commands[0]
  1414             if command in ('cat-file', 'symbolic-ref'):
  1414             if command in ('cat-file', 'symbolic-ref'):
  1415                 return retdata, p.returncode
  1415                 return retdata, p.returncode
  1416             # for all others, abort
  1416             # for all others, abort
  1417             raise error.Abort('git %s error %d in %s' %
  1417             raise error.Abort(_('git %s error %d in %s') %
  1418                              (command, p.returncode, self._relpath))
  1418                              (command, p.returncode, self._relpath))
  1419 
  1419 
  1420         return retdata, p.returncode
  1420         return retdata, p.returncode
  1421 
  1421 
  1422     def _gitmissing(self):
  1422     def _gitmissing(self):