Uwe Brauer <[email protected]> writes:

>> It sounds like what you want is to have the resulting git-hash equal,
>> not to have the Mercurial-hash equal. This could in theory be possible
>> (because the branch name is not part of the hash-generation in git), but
>> I do not know whether it is possible in practice.
>
> The following surprisingly works, how stable it is I am not sure
>
> * Workflow
>
> The following works
>
> ** HG
>     1) create a hg repository.
>     2) create a named branch main (because this is what github uses now)

Could you just set a bookmark named main?
That way you would still be on the branch used by hg-git as target for
the default branch.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Mercurial mailing list
[email protected]
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to