sapling/hgext
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
..
absorb Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
commitcloud commit cloud on mac change option 2018-06-25 16:37:34 -07:00
convert Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
extlib Speed up hg status by using the fsmonitor.sockpath from the config 2018-06-25 03:51:24 -07:00
fastannotate Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fastmanifest fix tests after reformat 2018-05-30 13:47:50 -07:00
fbamend fix metaedit for non-continuous subsets of linear commits 2018-06-26 06:20:45 -07:00
fsmonitor fsmonitor: add a race detector 2018-06-25 19:51:40 -07:00
hgevents Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hggit Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hgsubversion rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
highlight Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
infinitepush infinitepush: make listbookmarks work on Windows servers 2018-06-20 11:05:38 -07:00
lfs Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
p4fastimport importer - remove lfs hack and enable shallow clone 2018-06-21 23:49:19 -07:00
perfsuite Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
remotefilelog treemanifest: consider a tree remote from a client if it doesn't exist locally 2018-06-21 23:10:15 -07:00
repogenerator repogenerator: allow starting rev to be configured 2018-05-31 12:33:26 -07:00
treemanifest treemanifest: don't use native datapackstore 2018-06-21 22:50:49 -07:00
zeroconf Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
__init__.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
acl.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
age.py revset: increase weights of predicates that use filter 2018-06-22 07:40:08 -07:00
amend.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
arcdiff.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
automv.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
backups.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
blackbox.py blackbox: be graceful when the log message cannot be formatted 2018-06-11 17:36:15 -07:00
bugzilla.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
bundle2hooks.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
catnotate.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
censor.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
checkmessagehook.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
children.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
chistedit.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
churn.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
cleanobsstore.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
clienttelemetry.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
clindex.pyx chg: drop "sensitive config sections" 2018-05-08 17:02:22 -07:00
clonebundles.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
commitextras.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
configwarn.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
conflictinfo.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
copytrace.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
crdump.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
debugcommitmessage.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
debuginhibit.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
debugshell.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
dialect.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
directaccess.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
dirsync.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
drop.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
edrecord.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
eol.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
errorredirect.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
extdiff.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
extorder.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
extutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
factotum.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fastlog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fastpartialmatch.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
fbconduit.py revset: increase weights of predicates that use filter 2018-06-22 07:40:08 -07:00
fbhistedit.py rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
fbshow.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
fbsparse.py improve sparse extension error handling when used with eden 2018-06-08 14:51:54 -07:00
fetch.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
fixcorrupt.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
generic_bisect.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
githelp.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
gitlookup.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
gitrevset.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
gpg.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
graphlog.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
grepdiff.py revset: increase weights of predicates that use filter 2018-06-22 07:40:08 -07:00
grpcheck.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
hgk.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hgsql.py expose a method for checking if hgsql is bypassed 2018-06-15 10:37:26 -07:00
hiddenerror.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
histedit.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
infinitepushbackup.py commitcloud add running time for the background cloud sync 2018-06-18 11:08:02 -07:00
inhibit.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
inhibitwarn.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
interactiveui.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
journal.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
linkrevcache.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
logginghelper.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
logtoprocess.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
lz4revlog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
mergedriver.py rebase: invalidate old mergedriver preprocess during IMM restart 2018-06-17 23:19:32 -07:00
morecolors.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
morestatus.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
mq.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
myparent.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
nointerrupt.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
notify.py Update to 18.6b1 2018-06-05 22:19:55 -07:00
obsshelve.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
ownercheck.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
pager.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
patchbomb.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
patchrmdir.pyx patchrmdir: move to hgext 2018-01-08 19:25:13 -08:00
perftweaks.py perftweaks: disable itself if clindex is enabled 2018-06-25 18:20:17 -07:00
phabdiff.py phabdiff: fix empty reviewers template 2018-06-22 15:50:39 -07:00
phabstatus.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
phrevset.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
progressfile.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
pullcreatemarkers.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
purge.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
pushrebase.py move the logic for committing to a separate method 2018-06-15 10:37:26 -07:00
rage.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
rebase.py rebase: remove rebase.experimental.inmemory.canrebaseworkingcopy 2018-06-24 12:19:09 -07:00
record.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
releasenotes.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
relink.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
remoteid.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
remotenames.py remotenames: add remotebookmark and remotebranch revsets 2018-06-26 03:04:29 -07:00
reset.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
sampling.py sampling: run @atexitr handlers in a try/catch, log if failure 2018-06-12 13:22:23 -07:00
schemes.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
share.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
shareutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
shelve.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
show.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
sigtrace.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
simplecache.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
smartlog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
sparse.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
sshaskpass.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
stat.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
strip.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
traceprof.pyx hg: basic support for building hg using buck 2018-04-13 21:50:58 -07:00
transplant.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
treedirstate.py treestate: filter nonnormalset etc when downgrade 2018-06-22 13:20:49 -07:00
tweakdefaults.py rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
uncommit.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
undo.py undo: disallow interactive undo on Windows 2018-06-14 05:14:09 -07:00
upgradegeneraldelta.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
whereami.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
win32mbcs.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
win32text.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00