Add a "close branch" command with optional message
Bug #403203 reported by
Jean-Francois Roy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Jelmer Vernooij |
Bug Description
In order to facilitate migration to the 2a format, which will involving changing the development focus of series on Launchpad (and generally will involve changes to well-known branches), and for other purposes, Bazaar should have a formal mechanism (exposed by a new command) to close branches.
A closed branch will refuse any modification to its history, and the client should refuse to branch or pull from it as well.
When closing a branch, a message could be provided to state the reasons for closing the branch, or perhaps the new branch to use instead of the closed branch. Possibly, additional data could be stored by the close operation, such as a redirect URL.
summary: |
- A a "close branch" command with optional message + A "close branch" command with optional message |
summary: |
- A "close branch" command with optional message + Add a "close branch" command with optional message |
tags: | added: ui |
tags: | added: check-for-breezy |
To post a comment you must log in.
I agree that would be useful. One approach would be to write something into the branch config, which should be raised as an exception when trying to open it for writing - there would need however to be some way to get around it again, though perhaps just editing the file would be enough.
Launchpad might like to read that field and mark the branch closed.