/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/tests/__init__.py

  • Committer: Robert Collins
  • Date: 2006-02-14 04:07:06 UTC
  • mto: (1534.5.2 bzr-dir)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060214040706-ab43d8450989c555
Move find_repository to bzrdir, its not quite ideal there but its simpler and until someone chooses to vary the search by branch type its completely sufficient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
747
747
        except errors.UninitializableFormat:
748
748
            raise TestSkipped("Format %s is not initializable.")
749
749
 
750
 
    def make_repository(self, relpath):
 
750
    def make_repository(self, relpath, shared=False):
751
751
        """Create a repository on our default transport at relpath."""
752
752
        made_control = self.make_bzrdir(relpath)
753
 
        return made_control.create_repository()
 
753
        return made_control.create_repository(shared=shared)
754
754
 
755
755
    def make_branch_and_tree(self, relpath):
756
756
        """Create a branch on the transport and a tree locally.