support rebasing a treeless branch
Bug #502390 reported by
Juanma Barranquero
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-rewrite |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Currently rebase does not support rebasing in a treeless branch:
C:\emacs\test> bzr rebase
bzr: ERROR: No WorkingTree exists for "file:/
However, it is a perfectly sensible thing to do; in my case, test/ has been branched from trunk/, but has modifications not in trunk/, committed via a checkout + switch (used to emulate colocated branches). I want test/ to be kept up-to-date with trunk/.
Now, the only way to rebase test is
cd test
bzr checkout
bzr rebase
bzr remove-tree
which is slow and wasteful.
To post a comment you must log in.
But, the act of rebasing includes merging. It's logically impossible to merge without a working tree - the same applies to rebase, as far as I can see.