Hi

Is there any possibility to graft/rebase a change set from say the
default branch to another named branch, say main, *without* changing the
hash?

Rationale 

When using the hg-git extension, I prefer to use named branches (say
main or feature) not bookmarks for my workflow,

Now it is possible to export changesets on named branches to git
branches, thanks to one of the following changesets in hg-git (although
they are not merged into the release hg-git branch)


    1. 4b51ff13e8f5

    2. Or 6942fb0a8c9d



However importing commits, pushed by git users and pulled by me, end up on
the default branch with a bookmark.

So I hoped I could graft or rebase those changesets to my named branch (feature)

I can rebase them, (with or without evolve enabled) but the rebased changeset
gets a new hash which means that if I push it, it will confuse git
users.

So I have the feeling that what I am looking for is impossible, right?


Regards

Uwe Brauer 
-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to