Add toggle "Reset branch" to rollback dialog

Issue #2359 open
Anonymous created an issue

I encountered an unexpected behavior concerning branching and rollback: executing branch/commit/rollback will keep the new branch active. After reporting this to the mercurial developers, Matt Mackall explained to me why this is the case.

My suggestion would be to add a "Reset branch" toggle button into the rollback dialog of TortoiseHg. If this toggle button is checked, TortoiseHg will execute a "hg branch --clean" after the rollback command.

Is this a good idea? At least it would make it easier for "casual" users...

Comments (2)

  1. Steve Borho

    the code which runs the rollback dialog could detect afterwards if the repo[None].branch() was different from repo['.'].branch() and offer to clean this up.

  2. Log in to comment