예제 #1
0
 def checkexit(self, status, output=""):
     if status:
         if output:
             self.ui.warn(_("%s error:\n") % self.command)
             self.ui.warn(pycompat.decodeutf8(output, errors="replace"))
         msg = util.explainexit(status)[0]
         raise error.Abort("%s %s" % (self.command, msg))
예제 #2
0
 def checkexit(self, status, output=""):
     if status:
         if output:
             self.ui.warn(_("%s error:\n") % self.command)
             self.ui.warn(output)
         msg = util.explainexit(status)[0]
         raise error.Abort("%s %s" % (self.command, msg))