phases and subrepos
Pierre-Yves David
pierre-yves.david at logilab.fr
Fri Feb 3 10:00:12 UTC 2012
On Fri, Feb 03, 2012 at 08:44:42AM +0100, Angel Ezquerra Moreu wrote:
> Hi,
>
> I've been thinking about the interaction between subrepos and phases.
>
> One thing that has occurred to me is that there is as common case
> where rewriting history causes problems, which is when you try to
> rewrite the history of a subrepo.
>
> So, wouldn't it make sense to consider the selection of a subrepo
> revision on its parent repo a publishing event? That is, committing a
> change to the hgsubstate file on a parent repo should automatically
> change the phase of the corresponding subrepo revision (and its
> ancestors) to public.
>
> This would make it really hard to mess up your parent repo by
> modifying one of its subrepos (with mq, for example).
>
> What do you guys think?
I think we better fix subrepo than mark s immutable changeset that have no real
reason to be immutable (other than rewriting extensions does not handle
subrepo)
--
Pierre-Yves David
http://www.logilab.fr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20120203/3e185240/attachment.asc>
More information about the Mercurial-devel
mailing list