mercurial/archival.py
changeset 36036 788b2e8530ae
parent 35925 533f04d4cb6d
child 36139 b72c6ff4e4c0
--- a/mercurial/archival.py	Sun Feb 11 10:49:00 2018 -0800
+++ b/mercurial/archival.py	Sun Feb 11 10:52:13 2018 -0800
@@ -218,7 +218,7 @@
                 dest.tell()
             except (AttributeError, IOError):
                 dest = tellable(dest)
-        self.z = zipfile.ZipFile(dest, 'w',
+        self.z = zipfile.ZipFile(dest, r'w',
                                  compress and zipfile.ZIP_DEFLATED or
                                  zipfile.ZIP_STORED)