##// END OF EJS Templates
patch: fix clash between local variable and exception instance...
Martin Geisler -
r14218:202ff575 default
parent child Browse files
Show More
@@ -1132,8 +1132,8 b' def _applydiff(ui, fp, patcher, copyfn, '
1132 first_hunk, strip)
1132 first_hunk, strip)
1133 current_file = patcher(ui, current_file, opener,
1133 current_file = patcher(ui, current_file, opener,
1134 missing=missing, eolmode=eolmode)
1134 missing=missing, eolmode=eolmode)
1135 except PatchError, err:
1135 except PatchError, inst:
1136 ui.warn(str(err) + '\n')
1136 ui.warn(str(inst) + '\n')
1137 current_file = None
1137 current_file = None
1138 rejects += 1
1138 rejects += 1
1139 continue
1139 continue
General Comments 0
You need to be logged in to leave comments. Login now