Switch between branches (repos behaving as branches)

Greg Ward greg-hg at gerg.ca
Thu Jun 17 12:08:57 CDT 2010


2010/6/17 Matt Mackall <mpm at selenic.com>:
> On Thu, 2010-06-17 at 08:37 -0400, Greg Ward wrote:
>
>> And it has some disadvantages:
>>   * MQ directory (if any) is shared
>>   * attic directory (if any) is shared
>>   * bisect state is shared
>>   * transplant state is shared
>
> Sure about that?

Well, I am sure that MQ, attic, bisect, and transplant all write state
in .hg, not in .hg/store.  And I am equally sure that that will have
subtle consequences for anyone sharing .hg between working dirs, and
that those consequences will differ from the subtle consequences of
sharing .hg/store between working dirs.

But I'm not sure if those subtle consequences are pro or con.  (That's
why I put "MQ directory is shared" under both pro and con.  It could
go either way, depending on circumstances.)  I'm just advising the OP
to have his eyes wide open, keep his wits about him, and be aware of
possible strange side effects of sharing .hg.

Greg


More information about the Mercurial-devel mailing list