Mercurial > evolve
comparison docs/troubles-handling.rst @ 5586:f701c75e53f6
unstable-list: add "finding the resolution parent" section
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Tue, 22 Sep 2020 13:50:06 +0530 |
parents | 1bc58c156c89 |
children | c2e71fc0efeb |
comparison
equal
deleted
inserted
replaced
5585:1bc58c156c89 | 5586:f701c75e53f6 |
---|---|
279 Details of Sub cases | 279 Details of Sub cases |
280 ==================== | 280 ==================== |
281 | 281 |
282 .. contents:: | 282 .. contents:: |
283 :local: | 283 :local: |
284 | |
285 D-A: Finding the resolution parent | |
286 ---------------------------------- | |
287 | |
288 This section is responsible to decide where the resultant changeset should live. If it's unable to | |
289 find the resolution parent, we abort the content-divergence resolution. Following are the possible | |
290 situations between the two divergent changesets and current support for each situation. | |
291 | |
292 D-A1: one of the divergent changeset is public | |
293 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
294 | |
295 Set the parent of public changeset as resolution parent. | |
296 | |
297 Note: After we resolve content-divergence in this case, the resultant changeset will be | |
298 phase-divergent with the public side; so then we resolve phase-divergence to completely | |
299 resolve the instability. | |
300 | |
301 D-A2: both are on the same parent | |
302 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
303 | |
304 Set the parent (or its successor, if apply) as resolution parent. | |
305 | |
306 D-A3: both are on different parents | |
307 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
308 | |
309 D-A3.1: one side moved | |
310 """""""""""""""""""""" | |
311 | |
312 Set the parent of moved changeset as resolution parent. | |
313 | |
314 D-A3.2: both moved forward; same branch | |
315 """"""""""""""""""""""""""""""""""""""" | |
316 | |
317 Set the parent of ahead one as resolution parent. | |
318 As most obvious is that, ahead one has the latest changes. | |
319 | |
320 D-A3.3: both moved backward; same branch | |
321 """""""""""""""""""""""""""""""""""""""" | |
322 | |
323 XXX: yet to decide resolution | |
324 | |
325 D-A3.4: both moved opposite; same branch | |
326 """""""""""""""""""""""""""""""""""""""" | |
327 | |
328 XXX: yet to decide resolution | |
329 | |
330 D-A3.5: both moved; one moved on different unrelated branch | |
331 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
332 | |
333 XXX: yet to decide resolution | |
334 | |
335 D-A3.6: both moved on two different unrelated branch | |
336 """""""""""""""""""""""""""""""""""""""""""""""""""" | |
337 | |
338 XXX: yet to decide resolution | |
339 |