Mercurial > evolve
comparison docs/troubles-handling.rst @ 5784:43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Changes in troubles-handling.rst explains the special case in details and
also speak about what is the default behavior and how to change it.
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Thu, 18 Feb 2021 23:37:41 +0530 |
parents | db1dd9fec06c |
children |
comparison
equal
deleted
inserted
replaced
5783:c5c879fed91c | 5784:43a5371fa669 |
---|---|
321 D-A3.1: one side moved | 321 D-A3.1: one side moved |
322 """""""""""""""""""""" | 322 """""""""""""""""""""" |
323 | 323 |
324 Set the parent of moved changeset as resolution parent. | 324 Set the parent of moved changeset as resolution parent. |
325 | 325 |
326 Special-case: When parent of moved one is obsolete with a successor | |
327 ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' | |
328 By default, evolution will set the successor of obsolete parent as resolution | |
329 parent and will relocate both the divergent cset on it to perform 3-way merge. | |
330 But if the following config is set to True, it will set the obsolete parent as | |
331 resolution parent, so now resolved cset will be orphan, as it will be based on | |
332 the obsolete parent. Some users might not like the evolve to automatically | |
333 resovle this orphan instability as well (while they only wanted to resolve the | |
334 divergence), which is why we are providing this config. | |
335 | |
336 `experimental.evolution.divergence-resolution-minimal=False(default)` | |
337 | |
338 (The default resolution that automatically evolve the orphan instability as well | |
339 seems the best approach for now, but let's also gather user feedback, then we can decide accordingly) | |
340 | |
326 D-A3.2: both moved forward; same branch | 341 D-A3.2: both moved forward; same branch |
327 """"""""""""""""""""""""""""""""""""""" | 342 """"""""""""""""""""""""""""""""""""""" |
328 | 343 |
329 Set the parent of ahead one as resolution parent. | 344 Set the parent of ahead one as resolution parent. |
330 As most obvious is that, ahead one has the latest changes. | 345 As most obvious is that, ahead one has the latest changes. |