Fwd: [PATCH 3 of 4] subrepo: make it possible to update to hidden subrepo revisions

Angel Ezquerra angel.ezquerra at gmail.com
Thu Jan 16 15:19:53 CST 2014


Forwarding Pierre-Yves´s comment to the list:

---------- Forwarded message ----------
From: Pierre-Yves David <pierre-yves.david at ens-lyon.org>
Date: Wed, Jan 15, 2014 at 4:07 PM
Subject: Re: [PATCH 3 of 4] subrepo: make it possible to update to
hidden subrepo revisions
To: Angel Ezquerra <angel.ezquerra at gmail.com>


On 11/25/2013 12:46 PM, Angel Ezquerra wrote:
>
> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1385255837 -3600
> #      Sun Nov 24 02:17:17 2013 +0100
> # Node ID 744f6a7b25cd7ea810ddcce3724ed82108706d5c
> # Parent  15941436e0ab88dee0f5321f737bcf4bc9774fce
> subrepo: make it possible to update to hidden subrepo revisions
>
> When a subrepo revision was hidden it was considered missing and mercurial was
> unable to update to the corresponding parent revision. Instead warn the user of
> the problem and let it choose what to do (the default is to udpate anyway).


I'm not sure about the choice part. What about updating to it anyway
and printing a big red warning.

The user is asking for an upgrade of the super-repo, lets give him this update.

--
Pierre-Yves


More information about the Mercurial-devel mailing list