• nogooduser@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    It’s not the mechanism of branching that I prefer.

    It’s the fact that Mercurial tags the commit with the name of the branch that it was committed to which makes it much easier to determine whether a commit is included in your current branch or not.

    Also, Mercurial has a powerful revision search feature built in which I love (https://www.mercurial-scm.org/doc/hg.1.html#revisions).

    • bleistift2@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      I admit that I have been bitten by the fact that commits don’t have a “true home branch”.

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      4 days ago

      It’s the fact that Mercurial tags the commit with the name of the branch that it was committed to which makes it much easier to determine whether a commit is included in your current branch or not.

      Isn’t this trivial in Git too? git branch --contains COMMIT ?