Mercurial > hg
diff mercurial/commands.py @ 31311:f59b6cf663a9
vfs: use repo.vfs.unlinkpath
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 11 Mar 2017 11:02:25 -0800 |
parents | 50d76bae15cf |
children | a3a2382b2e1b |
line wrap: on
line diff
--- 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