phases and subrepos
Angel Ezquerra Moreu
angel.ezquerra at gmail.com
Fri Feb 3 07:44:42 UTC 2012
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?
Angel
More information about the Mercurial-devel
mailing list