273
274
def test_upgrade_preserves_signatures(self):
275
275
wt = self.make_branch_and_tree('source')
276
276
wt.commit('A', allow_pointless=True, rev_id='A')
277
277
wt.branch.repository.sign_revision('A',
278
278
bzrlib.gpg.LoopbackGPGStrategy(None))
279
279
old_signature = wt.branch.repository.revision_store.get('A',
282
286
wt = WorkingTree.open(wt.basedir)
283
287
new_signature = wt.branch.repository.revision_store.get('A',