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