sapling/eden/scm/edenscm/mercurial
Jun Wu 842416e189 pullcreatemarkers: skip creating mutation entries less aggressively
Summary:
The old code only compares successors without checking predecessors, and skips
creating markers even if predecessors do not match.  Update it to also check
predecessors. This is needed to maintain the `x` commits in
test-fb-hgext-pull-createmarkers-hide-later.t when switched to use mutation.

Reviewed By: markbt

Differential Revision: D21913610

fbshipit-source-id: 1fec2f96544236dd675ceb8c1a399bcef6cd0ede
2020-06-10 19:29:56 -07:00
..
cext py3: fix various wireprotocol related tests 2020-04-13 15:28:24 -07:00
cffi check-code: convert to Python 3 2020-05-07 09:07:50 -07:00
commands debugobsolete: stop printing obsmarkers 2020-06-10 19:29:54 -07:00
help Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
hgweb Update pyre version for eden 2020-04-23 12:09:39 -07:00
httpclient typing: enable pyre 2019-12-04 10:55:00 -08:00
pure suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
templates Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
thirdparty suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
utils py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
__init__.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
ancestor.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
archival.py delete the custom GzipFileWithTime class 2020-03-17 11:07:49 -07:00
autopull.py autopull: support different sources 2020-05-13 19:27:41 -07:00
bdiff.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
bdiff.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
bitmanipulation.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
blackbox.py pyre: add stub for "bindings" 2020-01-31 13:18:54 -08:00
blobstore.py lfs: implement gc 2019-11-14 11:14:05 -08:00
bookmarks.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
branchmap.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
bundle2.py bundle2: remove 'n new obsolescence markers' message 2020-06-10 19:29:54 -07:00
bundlerepo.py bundlerepo: only enable index2 for changelog revlog 2020-06-10 19:29:26 -07:00
byterange.py fix_map 2020-01-28 18:24:56 -08:00
changegroup.py changelog: expose rawheadrevs() API 2020-05-12 10:23:23 -07:00
changelog.py changelog: expose rawheadrevs() API 2020-05-12 10:23:23 -07:00
chgserver.py Convert type check targets in eden to use configuration 2020-05-02 21:16:55 -07:00
clone.py clone: add a new clone function with less tech-debt 2020-05-12 10:23:23 -07:00
CMakeLists.txt cmake: always build support for the EdenSCM backing store 2019-11-22 13:00:07 -08:00
cmdutil.py cmdutil: remove graph-renderer hint 2020-05-20 08:06:21 -07:00
color.py color: don't disable colors if HGPLAINEXCEPT=color 2020-05-19 06:13:54 -07:00
commandserver.py Convert type check targets in eden to use configuration 2020-05-02 21:16:55 -07:00
compat.h Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
config.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
configitems.py transaction: copy files before truncation 2020-06-10 19:29:45 -07:00
connectionpool.py connection pool: log remote path 2020-03-11 02:18:06 -07:00
context.py context: remove "is a remote bookmark or commit, try to 'hg pull' it first" message 2020-05-13 19:27:41 -07:00
copies.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
crecord.py tracing: replace blackbox.logblocked with tracing events 2020-05-12 10:48:43 -07:00
dagop.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
dagparser.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
dagutil.py changelog: expose rawheadrevs() API 2020-05-12 10:23:23 -07:00
debugcommands.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
destutil.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
detectissues.py debugging: Implement "debugdetectissues" command for detecting signs of repository issues 2020-05-19 18:11:29 -07:00
dirstate.py deprecate: introduce ui.deprecate 2020-06-10 19:29:38 -07:00
dirstateguard.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
discovery.py commitcloud: migrate to tech-debt-free repo.pull for pulling 2020-04-01 19:40:57 -07:00
dispatch.py fixcorrupt: remove remaining references 2020-06-02 14:27:04 -07:00
drawdag.py commands: add debugdifftree 2020-03-11 10:42:21 -07:00
dummycert.pem Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
eden_dirstate_fs.py unicode: skip binary filenames coming from Eden 2020-03-17 09:14:35 -07:00
eden_dirstate_map.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
eden_dirstate.py fix hg revert on conflicted file during conflict resolution 2020-03-16 18:35:20 -07:00
eden_update.py progress: add progress bars for edenfs checkout operations 2020-06-01 06:26:02 -07:00
edenfs.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
EdenThriftClient.py rename eden.thrift Python module to eden.thrift.legacy 2020-06-10 19:29:42 -07:00
encoding.py test-annotate: fix py3 compatibility 2020-03-03 17:46:34 -08:00
error.py deprecate: introduce ui.deprecate 2020-06-10 19:29:38 -07:00
exchange.py pull: skip listkeys bookmarks using the modern pull API 2020-05-12 10:23:24 -07:00
extensions.py fixcorrupt: sunset the extension 2020-06-01 10:56:55 -07:00
fancyopts.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
filelog.py revlog: add some type annotations 2020-02-03 07:35:32 -08:00
filemerge.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
fileset.py py3: move checkwinfilename() to a separate file and add type hints 2020-01-31 20:18:21 -08:00
filesystem.py filesystem: python bindings for new rust pending changes 2020-04-24 13:58:53 -07:00
formatter.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
fscap.py fsinfo: return an enum instead of a String 2020-03-23 14:29:10 -07:00
graphmod.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
hbisect.py bisect: make it python3 compatible 2020-04-08 19:08:51 -07:00
help.py py3: fix test-help.t 2020-04-09 18:25:54 -07:00
helptext.py clone: remove share.pool support 2020-05-12 10:23:21 -07:00
hg.py visibility: stop logging "repo visibility is tracked through visible heads" 2020-06-10 19:29:22 -07:00
hintutil.py cmdutil: remove graph-renderer hint 2020-05-20 08:06:21 -07:00
hook.py tracing: replace blackbox.logblocked with tracing events 2020-05-12 10:48:43 -07:00
httpconnection.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
httppeer.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
i18n.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
identity.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
json.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
keepalive.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
localrepo.py transaction: remove summary callback 2020-06-10 19:29:53 -07:00
lock.py repo: skip data migrations if repo lock cannot be taken 2020-03-05 11:42:19 -08:00
lsprof.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
lsprofcalltree.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
mail.py check-code: convert to Python 3 2020-05-07 09:07:50 -07:00
manifest.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
match.py pyre2: use Rust regex backend 2020-05-12 16:32:51 -07:00
mdiff.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
merge.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
mergeutil.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
metrics.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
minirst.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
mpatch.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
mpatch.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
mutation.py pullcreatemarkers: skip creating mutation entries less aggressively 2020-06-10 19:29:56 -07:00
namespaces.py remotenames: move namespace to core 2020-03-26 08:26:26 -07:00
node.py node: use binascii.Error in Python3 2020-04-08 23:46:09 -07:00
obsolete.py obsolete: ignore prune markers if visibility is on 2020-06-10 19:29:55 -07:00
obsutil.py obsutil: remove pyre-fixme 2019-12-04 17:04:45 -08:00
parser.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
patch.py py3: fix test-import-t.py 2020-04-09 18:44:06 -07:00
pathutil.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
peer.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
perftrace.py tracing: add more trace values 2020-04-22 15:35:17 -07:00
phases.py py3: various fixes to move bundle2 tests foward 2020-02-17 14:52:32 -08:00
posix.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
profiling.py py3: profiling: fix some encoding issues 2020-01-29 07:45:20 -08:00
progress.py streampager: fix progress rendering 2020-06-10 19:29:28 -07:00
pushkey.py py3: fix pushkey encoding by removing local encoding 2020-01-31 13:12:13 -08:00
pvec.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
pycompat.py sampling: move ui.log sampling logic to core 2020-05-05 18:19:09 -07:00
rcutil.py py3: fix test-hint.py 2020-04-08 22:00:35 -07:00
registrar.py phrevset: rewrite pull -r Dxxx into pull -r HASH 2020-05-06 15:29:57 -07:00
repair.py repair: remove "saved backup bundle to" message 2020-06-10 19:29:54 -07:00
replay.py py3: only use binary stdin/stdout/stderr 2020-02-03 18:26:57 -08:00
repository.py remotefilelog: move stream_out wireprotocol to core 2020-05-12 10:23:21 -07:00
repoview.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
revlog.py revlogindex: impl IdConvert and PrefixLookup for RevlogIndex 2020-06-02 14:00:35 -07:00
revset.py deprecate: introduce ui.deprecate 2020-06-10 19:29:38 -07:00
revsetlang.py pycompat: drop iterbytestr 2020-01-31 16:38:03 -08:00
rewriteutil.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
scmposix.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
scmutil.py transaction: remove summary callback 2020-06-10 19:29:53 -07:00
scmwindows.py typing: enable pyre 2019-12-04 10:55:00 -08:00
server.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
setdiscovery.py discovery: go back to random sampling but include master 2020-05-15 19:03:29 -07:00
similar.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
simplemerge.py pycompat: drop strkwargs / byteskwargs 2020-01-31 16:38:03 -08:00
smallcommitmetadata.py debug: Add commit metadata storage and templating for marking stable commits 2020-06-10 19:29:39 -07:00
smartset.py pyre: add stub for "bindings" 2020-01-31 13:18:54 -08:00
sparse.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
sshpeer.py tracing: replace blackbox.logblocked with tracing events 2020-05-12 10:48:43 -07:00
sshserver.py py3: fix test-bundle2-exchange.t 2020-04-13 15:28:25 -07:00
sslutil.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
statprof.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
store.py transaction: write hgrc to metalog 2020-05-06 12:15:36 -07:00
streamclone.py remotefilelog: move stream_out wireprotocol to core 2020-05-12 10:23:21 -07:00
templatefilters.py hg-py3: make metaedit command work 2020-01-31 18:29:01 -08:00
templatekw.py deprecate: introduce ui.deprecate 2020-06-10 19:29:38 -07:00
templater.py debug: Add commit metadata storage and templating for marking stable commits 2020-06-10 19:29:39 -07:00
transaction.py transaction: copy files before truncation 2020-06-10 19:29:45 -07:00
treedirstate.py i18n: use _x to signal untranslated strings 2020-05-07 09:07:49 -07:00
treediscovery.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
treestate.py pyre: add stub for "bindings" 2020-01-31 13:18:54 -08:00
txnutil.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
types.py py3: add stub for localrepository 2020-02-03 17:07:36 -08:00
ui.py deprecate: log the caller of the deprecated logic 2020-06-10 19:29:39 -07:00
uiconfig.py configs: prevent infinite loops in dynamicconfig generation 2020-06-10 19:29:15 -07:00
upgrade.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
url.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
urllibcompat.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
util.py transaction: copy files before truncation 2020-06-10 19:29:45 -07:00
verify.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
vfs.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
visibility.py visibility: skip unknown nodes in some places 2020-06-10 19:29:22 -07:00
win32.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
windows.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
winutil.py py3: move checkwinfilename() to a separate file and add type hints 2020-01-31 20:18:21 -08:00
wireproto.py remotefilelog: move stream_out wireprotocol to core 2020-05-12 10:23:21 -07:00
worker.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00