bzr switch does not respect revision argument

Bug #733225 reported by Adrian Wilkins
8
This bug affects 1 person
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

Jelmer Vernooij (jelmer)
tags: added: switch
Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
Martin Pool (mbp)
tags: added: easy
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.