/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/bundle/bundle_data.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-11 06:40:05 UTC
  • mfrom: (2404 +trunk)
  • mto: (2018.5.146 hpss)
  • mto: This revision was merged to the branch mainline in revision 2414.
  • Revision ID: andrew.bennetts@canonical.com-20070411064005-zylli6el5cz7kwnb
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    osutils,
26
26
    )
27
27
import bzrlib.errors
 
28
from bzrlib.bundle import apply_bundle
28
29
from bzrlib.errors import (TestamentMismatch, BzrError, 
29
30
                           MalformedHeader, MalformedPatches, NotABundle)
30
31
from bzrlib.inventory import (Inventory, InventoryEntry,
432
433
                        ' (unrecognized action): %r' % action_line)
433
434
            valid_actions[action](kind, extra, lines)
434
435
 
 
436
    def install_revisions(self, target_repo):
 
437
        """Install revisions and return the target revision"""
 
438
        apply_bundle.install_bundle(target_repo, self)
 
439
        return self.target
 
440
 
435
441
 
436
442
class BundleTree(Tree):
437
443
    def __init__(self, base_tree, revision_id):