mercurial/localrepo.py
changeset 14184 4ab6e2d597cc
parent 14168 135e244776f0
child 14195 0013d3eeb826
--- a/mercurial/localrepo.py	Wed May 04 08:21:50 2011 -0500
+++ b/mercurial/localrepo.py	Wed May 04 19:27:55 2011 +0200
@@ -661,7 +661,7 @@
         if 'l' in flags:
             self.wopener.symlink(data, filename)
         else:
-            fp = self.wopener.write(filename, data)
+            self.wopener.write(filename, data)
             if 'x' in flags:
                 util.set_flags(self.wjoin(filename), False, True)