-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What should jj split
do with branches?
#3419
Comments
When a commit is split, any branches pointing to it are moved to the second commit created by the split. This is true even if the --siblings option is used. #3419
jj split
leave branches on the first commit instead of moving to the second?jj split
do with branches?
When a commit is split, any branches pointing to it are moved to the second commit created by the split. This is true even if the --siblings option is used. #3419
When a commit is split, any branches pointing to it are moved to the second commit created by the split. This is true even if the --siblings option is used. #3419
When a commit is split, any branches pointing to it are moved to the second commit created by the split. This is true even if the --siblings option is used. #3419
I've been thinking about this a bit more and would like to propose that we change the current behavior. Currently, the
Instead of moving the bookmark to the child revision, I think split should leave bookmarks in place and attached to the same change id before and after the split. If users want to move the bookmark, they can. This no-implicit-move behavior aligns the change that makes abandon drop bookmarks instead of moving them to the parent revision. @PhilipMetzger, @martinvonz What do you think? |
I'm forking this off of #2274 (comment) where Martin wrote:
I'm going to think about this a bit more before giving an opinion, but I wanted to give this its own issue for discussion.
The text was updated successfully, but these errors were encountered: