two repositories sharing the same store?

Alpár Jüttner alpar at cs.elte.hu
Tue Jul 29 07:41:45 CDT 2008


> Heh... I just thought of an easier way:
> 
> 	# project1 is your first, existing, working directory
> 	mkdir project2
> 	cd project2
> 	ln -s ../project1/.hg .hg
> 	hg up -C tip

I think symlinking the whole .hg will not work, as hg will be confused
about the actual version of the two working copy.

You should symlink only .hg/store.

Regard.
Alpar

> 
> --- SER
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list