Rev 1959: (jam) LockDir.lock_write() can create the base directory if it is missing in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri Aug 25 21:06:25 BST 2006


------------------------------------------------------------
revno: 1959
revision-id: pqm at pqm.ubuntu.com-20060825200624-719b2ca847a04dfa
parent: pqm at pqm.ubuntu.com-20060825195855-d79a4429a72ddf7e
parent: john at arbash-meinel.com-20060825195141-c1c3fc34f6402107
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2006-08-25 21:06:24 +0100
message:
  (jam) LockDir.lock_write() can create the base directory if it is missing
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/lockdir.py              lockdir.py-20060220222025-98258adf27fbdda3
  bzrlib/tests/test_lockdir.py   test_lockdir.py-20060220222025-33d4221569a3d600
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060825195141-c1c3fc34f6402107
    parent: john at arbash-meinel.com-20060824200413-62b12d0a3650f510
    parent: pqm at pqm.ubuntu.com-20060825162024-eda7457881a28da7
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: create-lock-dir-56974
    timestamp: Fri 2006-08-25 14:51:41 -0500
    message:
      [merge] bzr.dev 1957
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060824200413-62b12d0a3650f510
    parent: pqm at pqm.ubuntu.com-20060824002222-09d7139ba6ad0e6c
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: create-lock-dir-56974
    timestamp: Thu 2006-08-24 15:04:13 -0500
    message:
      LockDir can create the root directory if it fails to create a pending directory due to NoSuchFile.
      This solves the problem where people manually delete the .bzr/repository/lock/ directory, and can no-longer commit
      bug #56974



More information about the bazaar-commits mailing list