Local vs. non local commands

Martin Geisler mg at lazybytes.net
Fri Aug 27 08:55:04 UTC 2010


Alpar Juttner <ajuttner.list at googlemail.com> writes:

> On Thu, 2010-08-26 at 06:27 -0400, Steve Losh wrote:
>> On Aug 26, 2010, at 12:54 AM, Alpar Juttner wrote:
>
>>  I think a -S/--subrepos option would be good, because I'm sure there
>>  are people working with large repos that might not want to pull lots
>>  of changesets they don't need.
>
> Look, my suggestion was to pull only those which has been used by the
> main repo (and their ancestors, of course). I don't think it results
> in significantly larger subrepos compared to the current behavior.

What we can do is to do 'hg pull' inside each subrepository when you do
'hg pull -S' in the outer repository. That should give you a consistent
set of changesets so that you can update to all of them without pulling
in any extra changesets as long as the set of subrepos does not change.

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100827/d4cab03e/attachment.asc>


More information about the Mercurial mailing list