[PATCH] util: make walkrepos() return .hg/patches if present

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Thu Feb 21 15:37:38 CST 2008


On Thu, Feb 21, 2008 at 10:07 PM, Peter Arrenbrecht
<peter.arrenbrecht at gmail.com> wrote:
> On Thu, Feb 21, 2008 at 9:10 PM, Peter Arrenbrecht
>
> <peter.arrenbrecht at gmail.com> wrote:
>
> >  As ThomasAH pointed out, this might benefit qclone.
>
>  This is a bit problematic. If you serve a repo with applied patches
>  you now also serve .hg/patches. If someone qclones, they cannot obtain
>  qparent and so cannot properly clone the base repo only upto qparent.
>  So if we really want this to work, we shall have to allow qclone to
>  query local repo tags remotely. Sounds like rexec again. :) Then
>  qclone could do
>
>   hg ridentify -r qparent url-of-repo
>
>  to know up to where to clone the main repo.

Doesn't need rexec. Plain httprepo can do it:

  http://localhost/hg/temp/?cmd=lookup&key=qparent

so I think qclone should use this. Shall try to fix it myself.


More information about the Mercurial-devel mailing list