changeset 32881 | f65786a02922 |
parent 32337 | 46ba2cdda476 |
child 32930 | af31d531dda0 |
--- a/hgext/histedit.py Fri Jun 16 09:37:22 2017 -0700 +++ b/hgext/histedit.py Fri Jun 16 10:36:43 2017 -0700 @@ -1200,7 +1200,7 @@ with repo.transaction('histedit.abort') as tr: if not isinstance(gen, bundle2.unbundle20): gen.apply(repo, 'histedit', 'bundle:' + backupfile) - if isinstance(gen, bundle2.unbundle20): + else: bundle2.applybundle(repo, gen, tr, source='histedit', url='bundle:' + backupfile)