contrib/shrink-revlog.py
changeset 14235 b9e1b041744f
parent 14034 1f667030b139
child 15355 dbdb777502dc
--- a/contrib/shrink-revlog.py	Fri May 06 15:31:09 2011 +0200
+++ b/contrib/shrink-revlog.py	Fri May 06 15:34:34 2011 +0200
@@ -251,8 +251,8 @@
         if not opts.get('dry_run'):
             # racy, both files cannot be renamed atomically
             # copy files
-            util.os_link(indexfn, oldindexfn)
-            ignoremissing(util.os_link)(datafn, olddatafn)
+            util.oslink(indexfn, oldindexfn)
+            ignoremissing(util.oslink)(datafn, olddatafn)
 
             # rename
             util.rename(tmpindexfn, indexfn)