~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: Robert Collins
  • Date: 2006-02-15 08:11:37 UTC
  • mto: (1534.1.24 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060215081137-4c27377517e96dd1
Make format 4/5/6 branches share a single LockableFiles instance across wt/branch/repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
    def test_disk_layout(self):
145
145
        control = bzrdir.BzrDirMetaFormat1().initialize(self.get_url())
146
146
        repo = repository.RepositoryFormat7().initialize(control)
 
147
        # in case of side effects of locking.
 
148
        repo.lock_write()
 
149
        repo.unlock()
147
150
        # we want:
148
151
        # format 'Bazaar-NG Repository format 7'
149
152
        # lock ''