[wishlist] mark branch as inactive or hidden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-colo |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I'd like to have the ability to mark some arbitrary branches inside colo workspace as inactive or hidden, so they won't be shown in the output of colo-branches unless --all flag is specified. It could be useful if you don't want to delete every finished feature branch, but in the same time want to put them out of sight.
I see some possible ways to achieve this:
* Move inactive branches into special subdirectory, e.g. .bzr/branches/
* Set the special option in branch.conf of those branches, e.g. `colo_inactive = True` and analyze all found branches for this option. It could be more bzr-way, but could be slower and requires special way to manipulate this value from command-line (maybe new `bzr config` command might help here).
Related branches
Changed in bzr-colo: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in bzr-colo: | |
status: | Confirmed → Fix Released |
I'd rather not have to add colo-specific information to the branch.conf. I am leaning towards a convention for which branches not to show in colo-branches. I am leaning towards hiding branches whose name starts with "." as with the unix ls command. There could then be a --all option to show those branches. This will also allow those who wish to use a directory such as ".inactive" if they want to keep all of their inactive branches in one place.
Can you let me know if that would be a satisfactory way to address this request?