• Facebook does not use Git due to scale issues with their large monorepo, instead opting for Mercurial.
  • Mercurial may be a better option for large monorepos, but Git has made improvements to support them better.
  • Despite some drawbacks, Git usage remains dominant with 93.87% share, due to familiarity, additional tools, and industry trends.
  • FizzyOrange
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    4 months ago

    That’s exactly the same in git. The old commits are still there, they just don’t show up in git log because nothing points to them.

    • aport
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Old, unreachable commits will be garbage collected.

      • FizzyOrange
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Does that not happen with Mercurial? If not that seems like a point against it.

        • aport
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          I’m confused, the behavior you just said was “exactly the same in git” is now a problem for Mercurial?

          • FizzyOrange
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            I thought it was exactly the same based on the description.

            • wewbull@feddit.uk
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              4 months ago

              No the old commit is always there, marked as obsolete with the information of what it became. No holes in history. (Assuming you use the obsolecense markers)