Allow "Move Changeset" to move to regular branches
Currently, with "Move Changeset" I can only move to a new branch or an empty one.
But often I find myself quickly fixing a small bug or tweak a value, and switching to a different branch is something I don't think about at that moment. But the changeset does not belong on the branch that I committed it to.
It would save an incredible amount of time if "Move Changeset" would do the following, when selecting a non empty branch:
- Cherry Pick the full changeset from the target branch, including the comment
- Delete the changeset in question
Now I understand that deleting a changeset anywhere on a branch creates a sort of "Tower of Hanoi" challenge, of having to shelve all the commits on top of it, delete the changeset in question, and stack them back on. For now it would already be useful if I could do this with the latest changeset (no further dependencies).
But being able to delete changesets with dependencies (instead of messy reverse commits) would be very useful in it's own right.
-
Rando Wiltschek commented
Yeah, I suppose so. A quick way to sort small changesets into the correct branches.
In plastic I can't easily switch to the right branch, commit my fix and move back, since I have to undo all my changes in order to switch.
Without that limitation (it never was an issue for me with mercurial and SourceTree), it wouldn't be necessary, I suppose.
-
Hi Rando,
I'm not sure if I properly understood you.
Would this be an equivalent of Git's rebase?Best,
Héber.