Feature request: Selective subrepos
Martin Geisler
mg at aragost.com
Tue Feb 14 10:05:52 UTC 2012
Alexander Leschinsky <lazybadger at gmail.com> writes:
> On Feb 14, 5:36 am, Todd Greer <TGr... at affinegy.com> wrote:
>
>> Basically, we want a more flexible subrepo facility. We'd like to be
>> able to have, within one repo, multiple sets of subrepos, such that
>> the user can elect to pull one set. This would let us have one set
>> for Windows computers, and a different set for Mac computers.
>
> Well, call me idiot, but... if you share common tree between platform
> and just have to have different subrepos URLs, while not handle
> different .hgsub (and other possible changes) in different MQ-patches?
> One patch per platform
That's not a bad idea -- except for the fact that mq doesn't interact
very well with subrepos at the moment. I suggest using two named
branches instead: switching from the "win" branch to "mac" will be
equivalent to popping the "win" patch and applying the "mac" one.
--
Martin Geisler
aragost Trifork
Professional Mercurial support
http://www.aragost.com/mercurial/customer-projects/
More information about the Mercurial
mailing list