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

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Thu Feb 21 15:07:46 CST 2008


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.


More information about the Mercurial-devel mailing list