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

Alexis S. L. Carvalho alexis at cecm.usp.br
Thu Feb 21 16:18:41 CST 2008


Thus spake Peter Arrenbrecht:
> 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

hg identify -r qparent url-of-repo

should work.

Alexis


More information about the Mercurial-devel mailing list