author | Adrian Buehlmann <adrian@cadifra.com> |
Sun, 27 Mar 2011 12:22:07 +0200 | |
changeset 13777 | f6e5035dc81a |
parent 13776 | a2f0fdb1e488 |
child 13778 | 46c3043253fb |
--- 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))