changeset 31320 | f59b6cf663a9 |
parent 31211 | 50d76bae15cf |
child 31330 | a3a2382b2e1b |
--- a/mercurial/commands.py Wed Jan 14 01:15:26 2015 +0100 +++ b/mercurial/commands.py Sat Mar 11 11:02:25 2017 -0800 @@ -2383,7 +2383,7 @@ # remove state when we complete successfully if not opts.get('dry_run'): - util.unlinkpath(repo.join('graftstate'), ignoremissing=True) + repo.vfs.unlinkpath('graftstate', ignoremissing=True) return 0