[Bug 922953] Re: rmbranch should refuse removing active branch

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


I can confirm the version in proposed resolves this issue:

andrew at andrew-laptop:~/Desktop/foo$ bzr branches
  first-colo-branch
* second-colo-branch
andrew at andrew-laptop:~/Desktop/foo$ bzr rmbranch second-colo-branch
bzr: ERROR: Branch is active. Use --force to remove it.


** 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/922953

Title:
  rmbranch should refuse removing active branch

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:
  "bzr rmbranch" shouldn't let the user shoot themselves in the foot by
  removing the currently active branch.

  Instead, it should print an error message if the user tries to remove
  the active branch and only actually remove the branch when --force is
  specified.

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




More information about the foundations-bugs mailing list