~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3060.2.1.

  • Committer: Lukáš Lalinský
  • Date: 2007-11-30 21:10:18 UTC
  • mto: This revision was merged to the branch mainline in revision 3112.
  • Revision ID: lalinsky@gmail.com-20071130211018-j2w4oxlej3x8qocx
Fix misplaced branch lock in cmd_send.

The branch should be opened and locked outside of the try/finally block, othewise we get an UnboundLocalError exception in "finally" if Branch.open_containing failed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: