changeset 13777 | f6e5035dc81a |
parent 13775 | 930efdc6bfa4 |
child 13879 | 5b0a3f6cbead |
--- a/mercurial/windows.py Sun Mar 27 01:47:58 2011 +0100 +++ b/mercurial/windows.py Sun Mar 27 12:22:07 2011 +0200 @@ -286,7 +286,7 @@ def unlinkpath(f): """unlink and remove the directory if it is empty""" - os.unlink(f) + unlink(f) # try removing directories that might now be empty try: _removedirs(os.path.dirname(f))