~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 05:01:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: mbp@sourcefrog.net-20060306050135-9e422a1633679d5f
Lock type is now mandatory for LockableFiles constructor

Show diffs side-by-side

added added

removed removed

Lines of Context:
794
794
        # NB: no need to escape relative paths that are url safe.
795
795
        control_files = LockableFiles(a_bzrdir.transport, 'branch-lock',
796
796
                                      TransportLock)
 
797
        control_files.create_lock()
797
798
        control_files.lock_write()
798
799
        control_files._transport.mkdir_multi(dirs,
799
800
                mode=control_files._dir_mode)