Is there a way to place the repository (.hg/
) not in the same directory as the working copy?
Like you can in Git by using GIT_DIR
and GIT_WORK_TREE
environment variables.
Background: I want to use Mercurial to keep track of modifications in important directories on Linux and Solaris servers. But I want to avoid polluting delicate directories with any "alien" files (like /platform/... or /kernel/drv/ on Solaris).