Mercurial > hg
changeset 30709:a932297febb7
rebase: use repo.vfs.exists in 'hg summary' hook
author | Valters Vingolds <valters@vingolds.ch> |
---|---|
date | Fri, 06 Jan 2017 09:58:41 +0100 |
parents | 011122b3b1c4 |
children | 7e95e70bad57 |
files | hgext/rebase.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Wed Dec 28 15:48:17 2016 -0700 +++ b/hgext/rebase.py Fri Jan 06 09:58:41 2017 +0100 @@ -1424,7 +1424,7 @@ return obsoletenotrebased def summaryhook(ui, repo): - if not os.path.exists(repo.join('rebasestate')): + if not repo.vfs.exists('rebasestate'): return try: rbsrt = rebaseruntime(repo, ui, {})