hgext/largefiles/lfcommands.py
branchstable
changeset 15900 29defa7d20f6
parent 15663 9036c7d106bf
child 15909 8435fa20dff9
--- a/hgext/largefiles/lfcommands.py	Sun Jan 15 13:39:09 2012 +0100
+++ b/hgext/largefiles/lfcommands.py	Tue Jan 17 11:29:32 2012 +0100
@@ -451,7 +451,7 @@
         # largefile is converted back to a normal file: the standin
         # disappears, but a new (normal) file appears as the lfile.
         if os.path.exists(abslfile) and lfile not in repo[None]:
-            os.unlink(abslfile)
+            util.unlinkpath(abslfile)
             ret = -1
     state = repo.dirstate[lfutil.standin(lfile)]
     if state == 'n':