sapling/hgext/fbamend
Aida Getoeva b3aa0fe52d fix metaedit for non-continuous subsets of linear commits
Summary:
Assume the stack:
```
o - C
|
o - B
|
o - A
|
o - Root
```
then if we need to metaedit commits A and B the stack becomes:
```
o - C' (metaedited)
|  o - B'
|  |
|  o - A' (metaedited)
| /
o - Root
```
This bug affects also Jellyfish while submitting the stack of commits where some commit in the middle is already assotiated with Phab diff.

The bug is caused by the logic where we firstly metaedit and rebase the commits to metaedit in their topological order and only after all their descendants. So for now the given commits are processed with their descendants in topological order to track new parents for each commit.

Reviewed By: mitrandir77

Differential Revision: D8591897

fbshipit-source-id: 330a598e084af60cff42255510aca420bfe389de
2018-06-26 06:20:45 -07:00
..
__init__.py rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
common.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fold.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hiddenoverride.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hide.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
metaedit.py fix metaedit for non-continuous subsets of linear commits 2018-06-26 06:20:45 -07:00
movement.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
prune.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
restack.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
revsets.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
split.py improve help text for split 2018-06-04 21:35:25 -07:00
unamend.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00