mercurial/repair.py
changeset 23878 37a92908a382
parent 23835 aa4a1672583e
child 23895 cda18ded2c48
--- a/mercurial/repair.py	Thu Jan 15 23:17:12 2015 +0100
+++ b/mercurial/repair.py	Sun Jan 11 00:25:54 2015 +0100
@@ -148,7 +148,7 @@
         try:
             for i in xrange(offset, len(tr.entries)):
                 file, troffset, ignore = tr.entries[i]
-                repo.sopener(file, 'a').truncate(troffset)
+                repo.svfs(file, 'a').truncate(troffset)
                 if troffset == 0:
                     repo.store.markremoved(file)
             tr.close()