diff -r d6009d1488e8 -r 07bbb208a924 mercurial/context.py --- a/mercurial/context.py Tue Oct 17 08:07:43 2017 -0700 +++ b/mercurial/context.py Tue Oct 17 08:11:13 2017 -0700 @@ -1946,6 +1946,7 @@ """ wvfs = self._repo.wvfs f = self._path + wvfs.audit(f) if wvfs.isdir(f) and not wvfs.islink(f): wvfs.rmtree(f, forcibly=True) for p in reversed(list(util.finddirs(f))):