/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-19 14:12:43 UTC
  • mfrom: (5798.1.4 testament-tree)
  • Revision ID: pqm@pqm.ubuntu.com-20110419141243-f3jl3dextzl70jdf
(Jelmer) Make TestamentTree use a Tree rather than an Inventory.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1163
1163
        if config is not None and config.signature_needed():
1164
1164
            if inv is None:
1165
1165
                inv = self.get_inventory(revision_id)
1166
 
            plaintext = Testament(rev, inv).as_short_text()
 
1166
            tree = InventoryRevisionTree(self, inv, revision_id)
 
1167
            testament = Testament(rev, tree)
 
1168
            plaintext = testament.as_short_text()
1167
1169
            self.store_revision_signature(
1168
1170
                gpg.GPGStrategy(config), plaintext, revision_id)
1169
1171
        # check inventory present