Referencing branches more easily

Bug #761047 reported by Russ Brown
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
bzr-colo
Confirmed
Wishlist
Unassigned

Bug Description

I am trying out bzr-colo and have encountered a problem with referring to branch names.

I have several branches that I have created beneath origin/ as they all reference a remote branch. My problem is in how easy it is to switch between these branches in the most lazy way possible.

Say I have the following branches:

 * origin/trunk
 * origin/branch_a
 * origin/another_branch
 * origin/your_branch

My current branch is trunk, and I want to switch to branch_a. I start by typing:

bzr switch

And then need to enter the name of the branch, which (as far as I understand it) could be either of the two strings:

 * colo:origin/branch_a
 * branch_a (since this is the same directory as my current branch)

The most lazy way would be to start typing "b" and then hit tab. However, this doesn't work. Tab-completion doesn't seem to work at all, even if colo: is entered first.

The next best would be to copy and paste, but in order to do that using a simple double-click, I have to use colo: first, since my terminal includes the / character in words (and I suspect that most people have this same configuration). Being lazy, I would rather not have to type colo: at all if I can help it, especially if I have to move to my mouse afterwards. Another less lazy option with my mouse is to actually select the latter section of the branch name. Again, hardly ideal for the lazy programmer.

I'm not sure what the best solution is to the second part of this problem, but if branch name tab completion could be improved for colocated branches, that would make the workflow a lot more efficient.

Changed in bzr-colo:
importance: Undecided → Wishlist
status: New → Confirmed
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.