mercurial/util.py
changeset 13235 6bf39d88c857
parent 13228 d18a748d9c33
child 13279 eed22340b7aa
--- a/mercurial/util.py	Wed Jan 05 15:56:03 2011 +0100
+++ b/mercurial/util.py	Sun Jan 02 19:34:41 2011 +0100
@@ -431,7 +431,7 @@
 
     return check
 
-def unlink(f):
+def unlinkpath(f):
     """unlink and remove the directory if it is empty"""
     os.unlink(f)
     # try removing directories that might now be empty