two repositories sharing the same store?
Matt Mackall
mpm at selenic.com
Tue Jul 29 19:06:44 UTC 2008
On Tue, 2008-07-29 at 11:59 -0700, Kelly O'Hair wrote:
> The way Mercurial shares files with hardlinks between related repositories
> is fantastic, it's completely invisible to the users of the repositories.
> No argument that this sharing is a GREAT idea.
>
> I was referring to sharing the entire .hg directory with a softlink.
Yes, this is dangerous because it shares the "dirstate", which keeps
track of what revision is checked out, and what files are
added/removed/etc.
The store is actually -designed- to be shared, but we haven't yet
decided whether the issues with rollback/strip/mq are worth worrying
about so it's not a feature we really advertise.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list