Show More
@@ -1392,12 +1392,20 b' class deltacomputer:' | |||||
1392 |
|
1392 | |||
1393 | if gather_debug: |
|
1393 | if gather_debug: | |
1394 | end = util.timer() |
|
1394 | end = util.timer() | |
1395 | used_cached = ( |
|
1395 | if dbg_type == b'full': | |
1396 |
cached |
|
1396 | used_cached = ( | |
1397 | and dbg_try_rounds == 1 |
|
1397 | cachedelta is not None | |
1398 |
and dbg_try_ |
|
1398 | and dbg_try_rounds == 0 | |
1399 |
and d |
|
1399 | and dbg_try_count == 0 | |
1400 | ) |
|
1400 | and cachedelta[0] == nullrev | |
|
1401 | ) | |||
|
1402 | else: | |||
|
1403 | used_cached = ( | |||
|
1404 | cachedelta is not None | |||
|
1405 | and dbg_try_rounds == 1 | |||
|
1406 | and dbg_try_count == 1 | |||
|
1407 | and deltainfo.base == cachedelta[0] | |||
|
1408 | ) | |||
1401 | dbg = { |
|
1409 | dbg = { | |
1402 | 'duration': end - start, |
|
1410 | 'duration': end - start, | |
1403 | 'revision': target_rev, |
|
1411 | 'revision': target_rev, |
@@ -1066,17 +1066,17 b' Test the debug output when applying delt' | |||||
1066 | > --config storage.revlog.reuse-external-delta=no \ |
|
1066 | > --config storage.revlog.reuse-external-delta=no \ | |
1067 | > --config storage.revlog.reuse-external-delta-parent=no |
|
1067 | > --config storage.revlog.reuse-external-delta-parent=no | |
1068 | adding changesets |
|
1068 | adding changesets | |
1069 |
DBG-DELTAS: CHANGELOG: rev=0: delta-base=0 is-cached= |
|
1069 | DBG-DELTAS: CHANGELOG: rev=0: delta-base=0 is-cached=1 - search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) | |
1070 |
DBG-DELTAS: CHANGELOG: rev=1: delta-base=1 is-cached= |
|
1070 | DBG-DELTAS: CHANGELOG: rev=1: delta-base=1 is-cached=1 - search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=0 p2-chain-length=-1 - duration=* (glob) | |
1071 |
DBG-DELTAS: CHANGELOG: rev=2: delta-base=2 is-cached= |
|
1071 | DBG-DELTAS: CHANGELOG: rev=2: delta-base=2 is-cached=1 - search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=0 p2-chain-length=-1 - duration=* (glob) | |
1072 | adding manifests |
|
1072 | adding manifests | |
1073 |
DBG-DELTAS: MANIFESTLOG: rev=0: delta-base=0 is-cached= |
|
1073 | DBG-DELTAS: MANIFESTLOG: rev=0: delta-base=0 is-cached=1 - search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) | |
1074 | DBG-DELTAS: MANIFESTLOG: rev=1: delta-base=0 is-cached=1 - search-rounds=1 try-count=1 - delta-type=delta snap-depth=0 - p1-chain-length=0 p2-chain-length=-1 - duration=* (glob) |
|
1074 | DBG-DELTAS: MANIFESTLOG: rev=1: delta-base=0 is-cached=1 - search-rounds=1 try-count=1 - delta-type=delta snap-depth=0 - p1-chain-length=0 p2-chain-length=-1 - duration=* (glob) | |
1075 | DBG-DELTAS: MANIFESTLOG: rev=2: delta-base=1 is-cached=1 - search-rounds=1 try-count=1 - delta-type=delta snap-depth=0 - p1-chain-length=1 p2-chain-length=-1 - duration=* (glob) |
|
1075 | DBG-DELTAS: MANIFESTLOG: rev=2: delta-base=1 is-cached=1 - search-rounds=1 try-count=1 - delta-type=delta snap-depth=0 - p1-chain-length=1 p2-chain-length=-1 - duration=* (glob) | |
1076 | adding file changes |
|
1076 | adding file changes | |
1077 |
DBG-DELTAS: FILELOG:a: rev=0: delta-base=0 is-cached= |
|
1077 | DBG-DELTAS: FILELOG:a: rev=0: delta-base=0 is-cached=1 - search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) | |
1078 |
DBG-DELTAS: FILELOG:b: rev=0: delta-base=0 is-cached= |
|
1078 | DBG-DELTAS: FILELOG:b: rev=0: delta-base=0 is-cached=1 - search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) | |
1079 |
DBG-DELTAS: FILELOG:c: rev=0: delta-base=0 is-cached= |
|
1079 | DBG-DELTAS: FILELOG:c: rev=0: delta-base=0 is-cached=1 - search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) | |
1080 | added 3 changesets with 3 changes to 3 files |
|
1080 | added 3 changesets with 3 changes to 3 files | |
1081 | new changesets 4fe08cd4693e:4652c276ac4f (3 drafts) |
|
1081 | new changesets 4fe08cd4693e:4652c276ac4f (3 drafts) | |
1082 | (run 'hg update' to get a working copy) |
|
1082 | (run 'hg update' to get a working copy) | |
@@ -1101,15 +1101,15 b' Test the debug statistic when applying a' | |||||
1101 | DEBUG-UNBUNDLING: type-count: |
|
1101 | DEBUG-UNBUNDLING: type-count: | |
1102 | DEBUG-UNBUNDLING: changelog: |
|
1102 | DEBUG-UNBUNDLING: changelog: | |
1103 | DEBUG-UNBUNDLING: full: 3 |
|
1103 | DEBUG-UNBUNDLING: full: 3 | |
1104 |
DEBUG-UNBUNDLING: cached: |
|
1104 | DEBUG-UNBUNDLING: cached: 3 (100%) | |
1105 | DEBUG-UNBUNDLING: manifests: |
|
1105 | DEBUG-UNBUNDLING: manifests: | |
1106 | DEBUG-UNBUNDLING: full: 1 |
|
1106 | DEBUG-UNBUNDLING: full: 1 | |
1107 |
DEBUG-UNBUNDLING: cached: |
|
1107 | DEBUG-UNBUNDLING: cached: 1 (100%) | |
1108 | DEBUG-UNBUNDLING: delta: 2 |
|
1108 | DEBUG-UNBUNDLING: delta: 2 | |
1109 | DEBUG-UNBUNDLING: cached: 2 (100%) |
|
1109 | DEBUG-UNBUNDLING: cached: 2 (100%) | |
1110 | DEBUG-UNBUNDLING: files: |
|
1110 | DEBUG-UNBUNDLING: files: | |
1111 | DEBUG-UNBUNDLING: full: 3 |
|
1111 | DEBUG-UNBUNDLING: full: 3 | |
1112 |
DEBUG-UNBUNDLING: cached: |
|
1112 | DEBUG-UNBUNDLING: cached: 3 (100%) | |
1113 | DEBUG-UNBUNDLING: type-time: |
|
1113 | DEBUG-UNBUNDLING: type-time: | |
1114 | DEBUG-UNBUNDLING: changelog: |
|
1114 | DEBUG-UNBUNDLING: changelog: | |
1115 | DEBUG-UNBUNDLING: full: ?????????????? seconds (???% of total) (glob) |
|
1115 | DEBUG-UNBUNDLING: full: ?????????????? seconds (???% of total) (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now