##// 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 files.setdefault(pf, 1)
82 files.setdefault(pf, 1)
83 code = fp.close()
83 code = fp.close()
84 if code:
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 return files.keys()
86 return files.keys()
87
87
88 def binary(s):
88 def binary(s):
General Comments 0
You need to be logged in to leave comments. Login now