stabilize: improve unstable selection heuristic
Without argument, stabilize was picking the first in:
"unstable() and ((suspended() or obsancestors(::.))::)"
which usually returned the "oldest" unstable revision in parent
predecessors descendants. This revision is interesting because it
usually gives "soft" merges but rebasing it left the working directory
on a remote branch, which was very confusing.
The new heuristic picks an unstable changeset which can be rebased on
top of the parent revision, or on top of one of its descendants
(selected in revision order). This has the advantage of selecting a
revision which can be rebased on the current subtree, and leave the
working directory in a more convenient location.
-----------------------------------------
Good pratice for (early) user of evolve
-----------------------------------------
Avoid instability
--------------------------------
The less instability you have the less you need to resolve.
Evolve is not yet able to detect and solve every situation. And your mind is
not ready neither.
Branch as much as possible
--------------------------------
This is not MQ you are not constrainted to linear history.
Making a branch per independent branch will help you avoiding instability and conflict.
Rewrite you change only
------------------------------------------------
There is no descent conflict detection and handling right now. rewriting other
people changeset garantee that you will get conflict. Communicate with you
fellow developer before trying to touch other people part. (which is a good
pratice in any case)
Using multiple branch will help you to achieve this goal.
Prefer pushing unstability than touching other people changeset
------------------------------------------------------------------
If you have children changeset from other people that you don't really care
about, prefer not altering them that risking a conflict by stabilizing them.
Do not get too confident
---------------------------
This is an experimental extension and a complexe concept. This is beautiful,
powerful and robust on paper. But the tool and your mind may not be prepared to
all situation yet.