Show More
@@ -1200,7 +1200,7 b' def _aborthistedit(ui, repo, state):' | |||
|
1200 | 1200 | with repo.transaction('histedit.abort') as tr: |
|
1201 | 1201 | if not isinstance(gen, bundle2.unbundle20): |
|
1202 | 1202 | gen.apply(repo, 'histedit', 'bundle:' + backupfile) |
|
1203 | if isinstance(gen, bundle2.unbundle20): | |
|
1203 | else: | |
|
1204 | 1204 | bundle2.applybundle(repo, gen, tr, |
|
1205 | 1205 | source='histedit', |
|
1206 | 1206 | url='bundle:' + backupfile) |
@@ -130,7 +130,7 b' class shelvedfile(object):' | |||
|
130 | 130 | gen.apply(self.repo, 'unshelve', |
|
131 | 131 | 'bundle:' + self.vfs.join(self.fname), |
|
132 | 132 | targetphase=phases.secret) |
|
133 | if isinstance(gen, bundle2.unbundle20): | |
|
133 | else: | |
|
134 | 134 | bundle2.applybundle(self.repo, gen, |
|
135 | 135 | self.repo.currenttransaction(), |
|
136 | 136 | source='unshelve', |
General Comments 0
You need to be logged in to leave comments.
Login now