Rev 2281: (John Arbash Meinel) Fix pushing branches within the same repository by using a read lock on the source. in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Tue Feb 13 07:46:11 GMT 2007


------------------------------------------------------------
revno: 2281
revision-id: pqm at pqm.ubuntu.com-20070213074608-337e1db89805f74d
parent: pqm at pqm.ubuntu.com-20070213040413-6b9f8b8ba554fcd5
parent: john at arbash-meinel.com-20070212225848-lxl29d1xugdid79d
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2007-02-13 07:46:08 +0000
message:
  (John Arbash Meinel) Fix pushing branches within the same repository by using a read lock on the source.
modified:
  bzrlib/branch.py               branch.py-20050309040759-e4baf4e0d046576e
  bzrlib/tests/branch_implementations/test_push.py test_push.py-20070130153159-fhfap8uoifevg30j-1
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070212225848-lxl29d1xugdid79d
    parent: john at arbash-meinel.com-20070212224239-8tbgpw9qhooqitk1
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: push_readonly
    timestamp: Mon 2007-02-12 16:58:48 -0600
    message:
      Switch the test to being a branch_implementation test.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070212224239-8tbgpw9qhooqitk1
    parent: john at arbash-meinel.com-20070212223618-7cboppunmrb86n3b
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: push_readonly
    timestamp: Mon 2007-02-12 16:42:39 -0600
    message:
      Actually make the test a blackbox test.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070212223618-7cboppunmrb86n3b
    parent: pqm at pqm.ubuntu.com-20070209195330-312ec52588462782
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: push_readonly
    timestamp: Mon 2007-02-12 16:36:18 -0600
    message:
      Branch.push() only needs a read lock.
      By avoiding a write lock, we avoid deadlock when pushing within
      a single repository.



More information about the bazaar-commits mailing list