mercurial/transaction.py
changeset 30006 599912a62ff6
parent 29353 a9ccd9af48ef
child 31653 8defc7d9adae
--- a/mercurial/transaction.py	Thu Sep 22 21:52:00 2016 +0900
+++ b/mercurial/transaction.py	Thu Sep 22 21:52:00 2016 +0900
@@ -48,7 +48,7 @@
     for f, o, _ignore in entries:
         if o or not unlink:
             try:
-                fp = opener(f, 'a')
+                fp = opener(f, 'a', checkambig=True)
                 fp.truncate(o)
                 fp.close()
             except IOError: