hg-git: testing: using branches-and-stuff: add git branches, delete git branches

3 views
Skip to first unread message

Uwe Brauer

unread,
Jul 20, 2024, 12:26:27 PM7/20/24
to Mercurial List, via hg-git

Hi
more experiments

* Named Branches

With

[experimental]
hg-git-mode = branches

Good and bad news.

1. Good: If I create a new branch with git, push, and then use hg to
pull, the git branch is imported as a hg named branch

2. Bad: If I delete with git a git branch (push with git) and pull
with hg, the named branch is of course not deleted. I need to
reclone (if I had already committed something that gets tricky).

3. When I clone again, git branches get imported as named branches
but using git name-rev, which cannot be really trusted

* Topics
[experimental]
hg-git-mode = topic

Good and bad news.

1. Good: If I create a new branch with git, push, and then use hg to
pull, the git branch is imported as a hg topic.

2. Bad: If I delete with git a git branch (push with git) and pull
with hg, the named branch is of course not deleted. I need to
reclone (if I had already committed something that gets tricky).

3. When I clone again, git branches will not be imported as topics!

Uwe Brauer
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.

Reply all
Reply to author
Forward
0 new messages