##// END OF EJS Templates
Fix patch failure reporting exception
Matt Mackall -
r1391:9395c2f9 default
parent child Browse files
Show More
@@ -82,7 +82,7 b' def patch(strip, patchname, ui):'
82 82 files.setdefault(pf, 1)
83 83 code = fp.close()
84 84 if code:
85 raise Abort("patch command failed: %s" % explain_exit(code))
85 raise Abort("patch command failed: %s" % explain_exit(code)[0])
86 86 return files.keys()
87 87
88 88 def binary(s):
General Comments 0
You need to be logged in to leave comments. Login now