hgext/convert/subversion.py
changeset 14168 135e244776f0
parent 14152 00121103546a
child 14232 df2399663392
--- a/hgext/convert/subversion.py	Mon May 02 10:11:05 2011 +0200
+++ b/hgext/convert/subversion.py	Mon May 02 10:11:18 2011 +0200
@@ -1028,7 +1028,7 @@
                     os.unlink(filename)
             except OSError:
                 pass
-            self.wopener(filename, 'w').write(data)
+            self.wopener.write(filename, data)
 
             if self.is_exec:
                 was_exec = self.is_exec(self.wjoin(filename))