Mercurial > hg-stable
changeset 44324:3245cdea2c63
clean: delete obsolete unlinking of .hg/graftstate
The responsibility for clearing it is now in
`cmdutil.clearunfinished()`, so we shouldn't have to unlink it in
`hg.clean()`.
Differential Revision: https://phab.mercurial-scm.org/D7992
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 24 Jan 2020 14:11:43 -0800 |
parents | 30862e226339 |
children | e48a996d12bc |
files | mercurial/hg.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hg.py Tue Feb 04 10:16:30 2020 -0800 +++ b/mercurial/hg.py Fri Jan 24 14:11:43 2020 -0800 @@ -1041,7 +1041,6 @@ """forcibly switch the working directory to node, clobbering changes""" stats = updaterepo(repo, node, True) assert stats.unresolvedcount == 0 - repo.vfs.unlinkpath(b'graftstate', ignoremissing=True) if show_stats: _showstats(repo, stats, quietempty)