~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

Merge repository so I dont trample on myself.

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.