bzr break-lock should show which branch/repo it is affecting, even when there is no lock found.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Low
|
Unassigned |
Bug Description
bzr break-lock should tell you when it does nothing, and on which branch/repo, rather than silently appearing to succeed. This will help reduce confusion when a user tries "bzr break-lock" with no arguments on a local branch and expects it to operate on a remote branch (usually the default push branch).
Actual experience was:
"""
$ bzr push
Ctrl+C
$ (make some correction)
$ bzr push
Using saved push location: bzr+ssh:
Enter passphrase for key '/home/
Unable to obtain lock lp-66527888:
held by <email address hidden> on host crowberry [process #10048]
locked 19 hours, 26 minutes ago
Will continue to try until 23:50:32, unless you press Ctrl-C.
See "bzr help break-lock" for more.
bzr: ERROR: Could not acquire lock "(remote lock)":
$ bzr break-lock
(no output)
"""
It would have helped if: bzr break-lock had given me some feedback when run without arguments (e.g. "Breaking lock on local directory" or "No lock on current directory"). Note that -v doesn't print any information out.
description: | updated |
summary: |
- bzr break-lock confusion + bzr break-lock should show which branch/repo it is affecting, even when + there is no lock found. |
tags: | added: easy |
tags: | added: locking ui |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
Bazaar (bzr) 2.1.0 6.32-15- generic- x86_64- with-Ubuntu- 10.04-lucid python2. 6/dist- packages/ bzrlib
Python interpreter: /usr/bin/python 2.6.4
Python standard library: /usr/lib/python2.6
Platform: Linux-2.
bzrlib: /usr/lib/
Bazaar configuration: /home/bob/.bazaar
Bazaar log file: /home/bob/.bzr.log