Separating the repository and the tree

andreas ap.lairucrem at x76.eu
Tue Sep 2 13:04:43 UTC 2014


Hello.
Is it possible for Mercurial to have the repo outside the source tree?

Example with Git;

  $ git --git-dir=~/src/myproject-git --work-tree=~/src/myproject init

Using the above, the source tree "~/src/myproject" remains untouched and
all git related files are in the other location specified by "git-dir"
parameter.

Thank you.
A.




More information about the Mercurial mailing list