hg-git: indirect cloning screws up the graph?

Becker, Mischa J mischa.becker at kroger.com
Tue Oct 11 16:35:53 UTC 2016


> -----Original Message-----
> From: Uwe Brauer
> Sent: Tuesday, October 11, 2016 12:39 AM
> To: mercurial at mercurial-scm.org
> Subject: Re: hg-git: indirect cloning screws up the graph?
>
...
>
> Ah, thanks, but now I am confused a tag creates a new head? That is
> odd, I have a different, a  pure hg repo, which has 5 heads: 4 branches
> 1 bookmark but it has 14 tags.
>
> But indeed the one which is cloned shows me a lot of tags. So the git-
> hg plugin converts tags to heads? That is odd. Anyhow thanks for that
> command I will added to me aliases.
>
> Uwe

I don't know how git does things but in hg, creating a tag creates a new commit.  Whether or not the commit stays as a head depends on if later commits are done on top of it or not.  Some people prefer them in-line, some people don't. (And some tools that auto-tag things make it really hard to keep the tags in-line.)

Mischa

________________________________

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.


More information about the Mercurial mailing list