changeset 19371 | 648d1974b3f3 |
parent 19313 | 3b96d6e44a4d |
parent 19332 | 0af993732f66 |
child 19777 | 6f72e7d28b35 |
--- a/mercurial/hg.py Sun Jun 30 14:56:04 2013 -0500 +++ b/mercurial/hg.py Sun Jun 30 15:19:39 2013 -0500 @@ -471,6 +471,7 @@ def clean(repo, node, show_stats=True): """forcibly switch the working directory to node, clobbering changes""" stats = updaterepo(repo, node, True) + util.unlinkpath(repo.join('graftstate'), ignoremissing=True) if show_stats: _showstats(repo, stats) return stats[3] > 0