Zwei Okosystem-Formen
Git's Okosystem ist riesig, marktgetrieben und ungleichmassig. Mercurials ist kleiner, deliberativ und koharenter.
Hosting
Git-Hosting ist uberall. Mercurial-Hosting ist drastisch geschrumpft.
CI/CD-Integrationen
Jeder grosse CI-Service unterstutzt Git nativ.
IDE-Unterstutzung
VS Code, JetBrains, Vim, Emacs, Sublime Text, Visual Studio — alle haben erstklassige Git-Integration.
Erweiterungs-Architekturen
Mercurial-Erweiterungen plugen sich in eine stabile Python-API. Notable Erweiterungen:
histedit.mq.shelve.evolve.largefiles.
Notable Git-Tools:
git-lfs.git filter-repo.gh,glab,gitlab-cli.delta,diff-so-fancy.tig,lazygit.
Hooks
# Git: shell scripts in .git/hooks/
cat > .git/hooks/pre-commit <<'EOF'
#!/usr/bin/env bash
npm test
EOF
chmod +x .git/hooks/pre-commit
# Mercurial: configured in hgrc
[hooks]
pretxncommit.tests = npm test
Programmiersprachen-Bibliotheken
Git hat Bibliotheken fur jede grosse Sprache: libgit2 (C), JGit (Java), gitoxide (Rust), pygit2 (Python).
Dokumentation und Lernmaterialien
Pro Git, GitHub-Dokumentation, Atlassian-Guides.
Sicherheits-Tooling
Geheimnis-Scanning (gitleaks, trufflehog), Supply-Chain-Attestation (cosign, in-toto) — alle zielen zuerst auf Git.
KI- und Entwickler-Tooling
Cursor, GitHub Copilot, Code-Review-Bots — alle integrieren mit Git-Semantik.
Wo Mercurials Okosystem gewinnt
- Heptapod bietet Mercurial-freundliches Hosting.
- Mercurials
evolve-Erweiterung bietet Historie-Mutations-Tracking. - Sapling von Meta ist heute der fortgeschrittenste Monorepo-Client.