There's no way to do exactly what you want. The closest would be to have a symlink .hg
pointing to the real one. Please see this thread.
↧
Answer by Matthew Flaschen for Is it possible to keep the .hg directory in custom location
↧