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))
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))