~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Martin Pool
  • Date: 2006-03-06 04:30:17 UTC
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: mbp@sourcefrog.net-20060306043017-2e9a7d43ee9c5745
Locks protecting LockableFiles must now be explicitly created before use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
911
911
        # NB: no need to escape relative paths that are url safe.
912
912
        repository_transport = a_bzrdir.get_repository_transport(self)
913
913
        control_files = LockableFiles(repository_transport, 'lock', LockDir)
 
914
        control_files.create_lock()
914
915
        return control_files
915
916
 
916
917
    def _get_revision_store(self, repo_transport, control_files):