Separating the repository and the tree
Matt Mackall
mpm at selenic.com
Tue Sep 2 14:37:50 UTC 2014
On Tue, 2014-09-02 at 20:04 +0700, andreas wrote:
> 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.
http://mercurial.selenic.com/wiki/ShareExtension
Or you can just use a symlink.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list