[Bug 920653] Re: "bzr rmbranch" doesn't handle colocated branches

Andrew Starr-Bochicchio a.starr.b at gmail.com
Mon Jun 25 16:20:57 UTC 2012


I can confirm that the version in precise-proposed resolves this issue.
Successful test case below:

andrew at andrew-laptop:~/Desktop$ bzr init --development-colo foo
Created a standalone tree (format: development-colo)                                     
andrew at andrew-laptop:~/Desktop$ cd foo
andrew at andrew-laptop:~/Desktop/foo$ bzr branches
* (default)
andrew at andrew-laptop:~/Desktop/foo$ bzr switch -b first-colo-branch
Tree is up to date at revision 0.                                                        
Switched to branch: /home/andrew/Desktop/foo/
andrew at andrew-laptop:~/Desktop/foo$ bzr switch -b second-colo-branch
Tree is up to date at revision 0.                                                        
Switched to branch: /home/andrew/Desktop/foo/
andrew at andrew-laptop:~/Desktop/foo$ bzr branches
  first-colo-branch
* second-colo-branch
andrew at andrew-laptop:~/Desktop/foo$  bzr switch first-colo-branch
Tree is up to date at revision 0.
Switched to branch: /home/andrew/Desktop/foo/
andrew at andrew-laptop:~/Desktop/foo$ bzr rmbranch second-colo-branch
andrew at andrew-laptop:~/Desktop/foo$ bzr branches
* first-colo-branch


** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/920653

Title:
  "bzr rmbranch" doesn't handle colocated branches

Status in Bazaar Version Control System:
  Fix Released
Status in Bazaar 2.5 series:
  Fix Released
Status in “bzr” package in Ubuntu:
  Fix Released
Status in “bzr” source package in Precise:
  Fix Committed

Bug description:
  Reported by Aaron on the list:

  On 12-01-23 10:12 AM, Jelmer Vernooij wrote:
  >> It actually just seems to be in the 2.5 branch at the moment,
  >> I'll up-merge that into bzr.dev as well.

  With 2.5, it rmbranch appears to delete the wrong branch:

  $ alias bzr=~/hacking/bzr/2.5/bzr
  $ bzr init --development-colo foo
  Created a standalone tree (format: development-colo)

  $ cd foo
  $ bzr branches
  * (default)
  $ bzr switch -b first-colo-branch
  Tree is up to date at revision 0.

  Switched to branch: /home/abentley/launchpad/foo/
  $ bzr switch -b second-colo-branch
  Tree is up to date at revision 0.

  Switched to branch: /home/abentley/launchpad/foo/
  $ bzr branches
    first-colo-branch
  * second-colo-branch
  $ bzr switch first-colo-branch
  Tree is up to date at revision 0.
  Switched to branch: /home/abentley/launchpad/foo/
  $ bzr rmbranch second-colo-branch
  $ bzr branches
    second-colo-branch

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/920653/+subscriptions




More information about the foundations-bugs mailing list