~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-14 03:15:43 UTC
  • mfrom: (4257.3.10 stacking-inventory)
  • Revision ID: pqm@pqm.ubuntu.com-20090414031543-gqbs23oebd68p7h7
(andrew) Push parent inventories for all transferred revisions to
        stacked branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2154
2154
        return memorytree.MemoryTree.create_on_branch(b)
2155
2155
 
2156
2156
    def make_branch_builder(self, relpath, format=None):
2157
 
        return branchbuilder.BranchBuilder(self.get_transport(relpath),
2158
 
            format=format)
 
2157
        branch = self.make_branch(relpath, format=format)
 
2158
        return branchbuilder.BranchBuilder(branch=branch)
2159
2159
 
2160
2160
    def overrideEnvironmentForTesting(self):
2161
2161
        os.environ['HOME'] = self.test_home_dir