[PATCH 1 of 2] subrepo: look for local pull source first

Eric Eisner ede at mit.edu
Fri Mar 25 13:22:15 CDT 2011


On Fri, Mar 25, 2011 at 12:27, Martin Geisler <mg at aragost.com> wrote:

> Matt Mackall <mpm at selenic.com> writes:
>
> > On Fri, 2011-03-25 at 16:07 +0100, Martin Geisler wrote:
> > Consider how completely different this behavior is from non-hg subrepo
> > behavior.
>
> It is just an opportunistic optimization -- the source repository
> functions as a cache for changesets and we grab them if we can. Git
> subrepos could do the same, I guess.


Currently, git subrepos will only pull from the source that was originally
cloned.

[Pulling from any other source, local or remote, would involve hg creating
and managing git remotes, which are intended to be manually named and
managed.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110325/76f50158/attachment.htm>


More information about the Mercurial-devel mailing list