Rapid Repository Sharing with Mercurial's hg serve
Stop wasting time on server setup for quick collaborations. Learn how to use Mercurial's hg serve to instantly share repositories over HTTP for cloning and browsing.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Stop wasting time on server setup for quick collaborations. Learn how to use Mercurial's hg serve to instantly share repositories over HTTP for cloning and browsing.
Rebase in Mercurial rewrites selected changesets to create a linear history. This guide shows how to enable the extension, run a rebase, handle conflicts, and why you should avoid rebasing shared commits.
Learn how to diagnose and resolve 'multiple heads' errors in Mercurial. This guide covers using hg heads, merging divergent history, and safely stripping unwanted commits.
Stop cluttering your Mercurial history. Learn the critical difference between permanent Named Branches and ephemeral Bookmarks to keep your repository clean.
Learn how to use the Mercurial narrow extension to clone specific directories in large monorepos, reducing disk usage and clone times significantly.
Compatibility decision A shared repository is being considered for history rewriting with Mercurial’s optional evolve extension. The goal is to choose an obsolescence policy that does not silently lose rewrite metadata when clones run different Mercurial releases. Mercurial 2.3 introduced persistent obsolescence markers. Clients older than that boundary may
Learn how to diagnose and fix common hg bisect failures in Mercurial, including 'no changeset found' errors, repository corruption, and false positives caused by merge commits.
Learn how Mercurial's Named Branches provide permanent metadata for commits, ensuring long-term feature traceability unlike ephemeral pointer-based branching.
Learn how to create, use, and recover Mercurial bookmarks for lightweight branching, with step‑by‑step commands, verification steps, and recovery tips.