bzr switch does not respect revision argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
There are two cases ;
== When using -b to create a new branch ==
switch command creates a new branch at the HEAD revision of the current branch, not at the stated revision. After switch, working copy is at this HEAD revision.
Correct behaviour : switch should create a branch who's tip revision is that stated in -r, and switch to it
-r should be resolved with respect to the CURRENT branch
== When not using -b to create a new branch ==
switch command does not switch to stated revision of target branch, it switches to the HEAD.
Correct behaviour : switch should rebind to the target branch as normal, and then update the working tree to the revision stated in -r, not the HEAD of the target branch
-r should be resolved with respect to the TARGET branch
tags: | added: switch |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: easy |
tags: | added: check-for-breezy |