Have to remember to name initial branch when starting a local colocated branch
Bug #937123 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Triaged
|
Medium
|
Unassigned |
Bug Description
This bug could also be characterized as "switch -b" doesn't actually create a new branch when the only branch is the default branch.
I almost always want to have a pristine local copy of the trunk branch of the project I'm working on, and I almost always want to call that branch 'trunk'. Whenever I start working on a project using colocated branches with Bazaar, I have to remember to do 'bzr switch -b trunk' as the first thing after I fetch the branch. Otherwise, I lose my pointer to the trunk branch.
e.g.
$ bzr branch lp:foo
$ bzr branches
* (default)
$ bzr switch -b fix-my-bug
# hack hack hack
$ bzr ci
$ bzr branches
* fix-my-bug
Oops! How do I get back to trunk?
Thanks,
jml
Changed in bzr: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: check-for-breezy |
To post a comment you must log in.
Thanks for the bug report.
I think we should probably automatically create a lightweight checkout of a new branch named "trunk" when somebody first uses a colocated branch somewhere.