Mercurial > hg
diff contrib/shrink-revlog.py @ 14235:b9e1b041744f
rename util.os_link to oslink
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 06 May 2011 15:34:34 +0200 |
parents | 1f667030b139 |
children | dbdb777502dc |
line wrap: on
line diff
--- 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)