docs/evolve-good-practice.rst
author Patrick Mezard <patrick@mezard.eu>
Tue, 12 Jun 2012 11:14:02 +0200
changeset 263 de62daaf2054
parent 241 2f2681ed8f16
child 357 b398e9c2dbd1
permissions -rw-r--r--
amend: drop --branches, pick it from working directory The amended changeset branch was picked either from --branch or from the first parent, but the actual working directory branch was ignored. The behaviour is changed so the amended revision branch is picked from the intermediate revision, which branch comes from the usual working directory rules. --branch is thus replaced by "hg branch".

-----------------------------------------
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.