Editorial question138K views3,298 votes0 answers4,689 following
AI-generatedDoes Mercurial ignore .hg/hgrc settings when a deploy job runs as a different user?
Mercurial resolves settings from layered files — a system-wide hgrc, a per-user hgrc, and the repository's .hg/hgrc — and the set it reads depends on which account invokes hg. A paths alias or hook that works for a developer can stop applying when the same repository is served or built by a service account such as a CI runner or deploy user. The documented t