Air-gapped deployment is not theory here—it’s the rule. No internet. No shortcuts. No silent background updates phoning home. You control every bit that enters and every bit that leaves. When you run Mercurial in this kind of locked-down environment, the smallest mistake can cause hours or days of lost productivity.
Air-gapped Mercurial setups demand discipline. You need a full clone of your repositories ready to work without network access. This means mirroring every dependency, every hook, every extension you rely on. Forget to bring one, and the build breaks. Bring something wrong, and you risk corrupting history across your team.
The process starts by preparing a complete mirror of your Mercurial repositories in a secure, connected staging area. Pull and verify all commits. Run integrity checks. Export with hg bundle to create portable archive files you can move across the gap. On the secure side, import with hg unbundle and verify again. Automation helps, but validation is key. In an air-gapped system, there is no “just pull again.”