sapling/hgext3rd
Jun Wu 93c918c92e absorb: fix an issue where changesets do not get deleted correctly
Summary:
The old code didn't test if the new commit will become empty correctly, if its
"memworkingcopy" contains changes inherited from its parent. This diff fixes
the problem.

Thanks @stash for discovering the issue!

Test Plan: Added a test case for this issue. Make sure the old code cannot pass.

Reviewers: #mercurial, stash

Reviewed By: stash

Subscribers: mjpieters, stash

Differential Revision: https://phabricator.intern.facebook.com/D4113438

Signature: t1:4113438:1478077373:194104b902bdfe6827858c2916a7f3f0cd83ee6c
2016-11-01 21:16:13 +00:00
..
__init__.py Fix hgext3rd/__init__.py to make sure it is a namespace package 2016-08-22 17:39:02 -07:00
absorb.py absorb: fix an issue where changesets do not get deleted correctly 2016-11-01 21:16:13 +00:00
arcdiff.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
backups.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
bundle2hooks.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
catnotate.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
chistedit.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
commitextras.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
debugcommitmessage.py extension to print commit message that would be supplied to editor 2016-10-03 04:39:51 -07:00
dialect.py dialect: new extension to "translate" messages to a dialect 2016-09-21 15:04:42 +01:00
dirsync.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
errorredirect.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
extorder.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
extutil.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
fastlog.py check-code fixes 2016-08-25 09:04:43 -07:00
fbamend.py fbamend: add config option to use restack instead of preamend bookmark 2016-10-25 11:10:47 -07:00
fbconduit.py Parallel callout to scmquery through conduit 2016-08-12 15:52:50 -07:00
fbhistedit.py integration tests for sqldirstate/fbhistedit and "hg amend" test for latter 2016-10-21 06:01:59 -07:00
githelp.py githelp: fix crash in mergebase 2016-10-12 19:47:42 +01:00
gitlookup.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
gitrevset.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
grepdiff.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
grpcheck.py grpcheck: new extension to check if the user is in given groups 2016-09-20 23:15:09 +01:00
inhibitwarn.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
logginghelper.py logginghelper: return repo name instead of repo root 2016-09-09 08:07:56 -07:00
mergedriver.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
morestatus.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
nointerrupt.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
ownercheck.py ownercheck: new extension to prevent operations on repos not owned 2016-07-26 13:10:15 +01:00
patchpython.py patchpython: fix test-check tests 2016-10-20 16:03:31 +01:00
perftweaks.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
phabdiff.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
phabstatus.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
phrevset.py [phrevset] fix "invalid literal for int()" error 2016-10-11 11:13:58 -07:00
profiling.py Log interactive time, internal command timing to scuba 2016-09-30 12:32:21 -07:00
pullcreatemarkers.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
pushrebase.py pushrebase: cleanup 2016-09-26 01:48:13 -07:00
pushvars.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
rage.py rage: use hg sl instead of smartlog to get better template 2016-09-29 11:19:52 -07:00
reset.py doc: replace "commit" where it is used as a noun with "changeset" 2016-09-21 15:45:25 +01:00
sampling.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
show.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
simplecache.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00
smartlog.py smartlog: do not change node char for fake nodes 2016-10-26 18:33:10 +01:00
sparse.py [sparse] make sure "hg update --clean" correctly forgets about excluded files 2016-10-13 11:49:58 -07:00
sshaskpass.py test-check: backport test-check-execute from core hg 2016-10-18 17:58:45 +01:00
statprofext.py Fix statprof for upstream 2016-08-29 15:23:04 -07:00
tweakdefaults.py Add hg rebase --restack 2016-10-11 17:41:07 -07:00
uncommit.py Implement 'hg uncommit' 2016-08-17 13:43:25 -07:00
upgradegeneraldelta.py hgext: move single file extensions to hgext3rd 2016-07-08 13:15:42 +01:00