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

Mads Kiilerich mads at kiilerich.com
Fri Mar 25 21:47:28 CDT 2011


Martin Geisler wrote, On 03/25/2011 05:27 PM:
> In other words, the patch makes
>    $ hg clone /foo
>
> behave like
>
>    $ hg init foo
>    $ cd foo
>    $ hg pull --update /foo
>
> So it makes the "clone == init + pull" rule of thumb a bit more true.

I would say that it already _is_ the same. In what way are they different?


I do however agree that

   $ hg pull --update /foo

is very different from

   $ hg pull /foo && hg update

/Mads


More information about the Mercurial-devel mailing list