##// END OF EJS Templates
filemerge: better handling of failing remove of temporary files...
Mads Kiilerich -
r21100:098a2747 default
parent child Browse files
Show More
@@ -334,10 +334,10 b' def filemerge(repo, mynode, orig, fcd, f'
334 if onfailure:
334 if onfailure:
335 ui.warn(onfailure % fd)
335 ui.warn(onfailure % fd)
336 else:
336 else:
337 os.unlink(back)
337 util.unlink(back)
338
338
339 os.unlink(b)
339 util.unlink(b)
340 os.unlink(c)
340 util.unlink(c)
341 return r
341 return r
342
342
343 if not r and (_toolbool(ui, tool, "checkconflicts") or
343 if not r and (_toolbool(ui, tool, "checkconflicts") or
@@ -368,10 +368,10 b' def filemerge(repo, mynode, orig, fcd, f'
368 if onfailure:
368 if onfailure:
369 ui.warn(onfailure % fd)
369 ui.warn(onfailure % fd)
370 else:
370 else:
371 os.unlink(back)
371 util.unlink(back)
372
372
373 os.unlink(b)
373 util.unlink(b)
374 os.unlink(c)
374 util.unlink(c)
375 return r
375 return r
376
376
377 # tell hggettext to extract docstrings from these functions:
377 # tell hggettext to extract docstrings from these functions:
General Comments 0
You need to be logged in to leave comments. Login now