Create branch from current checkouts
We're going to implement a new feature to move checkouts to a new branch.
Sometimes, you start working in the main branch, and you want to create a new branch with those changes.
The idea is creating a submenu in the checkin button (in the pending changes view) with the text says "Checkin to a new branch". A dialog will be appear to create a branch and then, the checkin will be done to the new branch. Of course, the workspace will be switched to that branch.
Any ideas or suggestions will be appreciated
It will be available in the next Plastic SCM release.
-
Hi Plácido. Finally we have decided, as you said, moving the checkouts to the new branch (or existing one, without doing the initial checkin.
The action will be called "Move changes to a branch" and placed in a submenu of the checkin button.
When you execute the action, a dialog will be shown. It will allow to create a new branch or select an existing one, and finally when you press ok, the changes will be placed in the new branch.
-
Plácido Monteiro Dinelli Bisneto commented
I'm working in a task and then I realized that I did not created a child branch to this change.
So I'm going to Pending Changes view and then I click the "Checkin to a new branch", the branch is created and then a initial checkin is performed?Seems good. I guess that to create a branch and change to it without having to checkin the changes to it implicates in a lot of work for nothing.
Just having the chance to create a branch with the changes made is great!
-
Daniel Peñalba Acitores commented
Ok, we will implement moving changes to a new branch, but the action will be placed in the checkin button implemented as a button submenu. Agree?
-
Anonymous commented
I like this idea but agree with Placido
-
Plácido Monteiro Dinelli Bisneto commented
I think that would be better to move changes to the new branch without checkin :)