Switching to the local branch creates recursion
Bug #1018628 reported by
Nils Durner
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Triaged
|
High
|
Unassigned | ||
Breezy |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
$ bzr init .
$ bzr commit -m 1 --unchanged
$ bzr commit -m 2 --unchanged
$ bzr switch -r 1
bzr: ERROR: exceptions.
$ bzr log
bzr: ERROR: exceptions.
Related branches
lp:~jelmer/brz/switch-self
- Martin Packman: Approve
-
Diff: 187 lines (+93/-6)7 files modifiedbreezy/builtins.py (+8/-2)
breezy/bzr/branch.py (+13/-3)
breezy/bzr/bzrdir.py (+3/-0)
breezy/controldir.py (+8/-0)
breezy/tests/blackbox/test_checkout.py (+1/-1)
breezy/tests/blackbox/test_switch.py (+47/-0)
breezy/tests/per_controldir_colo/test_supported.py (+13/-0)
Changed in bzr: | |
status: | New → Triaged |
importance: | Undecided → Critical |
importance: | Critical → High |
tags: | added: colocate |
tags: | added: check-for-breezy |
tags: |
added: colocated switch removed: check-for-breezy colocate |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in brz: | |
milestone: | none → 3.0.0 |
Changed in brz: | |
status: | Triaged → In Progress |
Changed in brz: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
To rescue the corrupted branch:
1. echo "Bazaar Branch Format 7 (needs bzr 1.6)" > .bzr/branch/format
2. echo > .bzr/branch/ location
3. open .bzr/checkout/ dirstate, search for the most recently changed filename and copy the ID from the end of the line (between @ and ^@, starts with the user's email address)
4. enter the last revision number and the ID in .bzr/branch/ last-revision: last-revision
echo "2 <email address hidden>" > .bzr/branch/
5. bzr log to check if the branch work again