464 (this also confirms that streamclone-ed changes are visible via |
464 (this also confirms that streamclone-ed changes are visible via |
465 @filecache properties to in-process procedures before closing |
465 @filecache properties to in-process procedures before closing |
466 transaction) |
466 transaction) |
467 |
467 |
468 $ cat > $TESTTMP/showtip.py <<EOF |
468 $ cat > $TESTTMP/showtip.py <<EOF |
469 > from __future__ import absolute_import |
|
470 > |
469 > |
471 > def showtip(ui, repo, hooktype, **kwargs): |
470 > def showtip(ui, repo, hooktype, **kwargs): |
472 > ui.warn(b'%s: %s\n' % (hooktype, repo[b'tip'].hex()[:12])) |
471 > ui.warn(b'%s: %s\n' % (hooktype, repo[b'tip'].hex()[:12])) |
473 > |
472 > |
474 > def reposetup(ui, repo): |
473 > def reposetup(ui, repo): |
1037 3 changesets found |
1036 3 changesets found |
1038 |
1037 |
1039 Test the option that create and no-delta's bundle |
1038 Test the option that create and no-delta's bundle |
1040 $ hg bundle -a --config devel.bundle.delta=full ./full.hg |
1039 $ hg bundle -a --config devel.bundle.delta=full ./full.hg |
1041 3 changesets found |
1040 3 changesets found |
|
1041 |
|
1042 Test the debug output when applying delta |
|
1043 ----------------------------------------- |
|
1044 |
|
1045 $ hg init foo |
|
1046 $ hg -R foo unbundle ./slim.hg \ |
|
1047 > --config debug.revlog.debug-delta=yes \ |
|
1048 > --config storage.revlog.reuse-external-delta=no \ |
|
1049 > --config storage.revlog.reuse-external-delta-parent=no |
|
1050 adding changesets |
|
1051 DBG-DELTAS: CHANGELOG: rev=0: search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) |
|
1052 DBG-DELTAS: CHANGELOG: rev=1: search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=0 p2-chain-length=-1 - duration=* (glob) |
|
1053 DBG-DELTAS: CHANGELOG: rev=2: search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=0 p2-chain-length=-1 - duration=* (glob) |
|
1054 adding manifests |
|
1055 DBG-DELTAS: MANIFESTLOG: rev=0: search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) |
|
1056 DBG-DELTAS: MANIFESTLOG: rev=1: search-rounds=1 try-count=1 - delta-type=delta snap-depth=0 - p1-chain-length=0 p2-chain-length=-1 - duration=* (glob) |
|
1057 DBG-DELTAS: MANIFESTLOG: rev=2: search-rounds=1 try-count=1 - delta-type=delta snap-depth=0 - p1-chain-length=1 p2-chain-length=-1 - duration=* (glob) |
|
1058 adding file changes |
|
1059 DBG-DELTAS: FILELOG:a: rev=0: search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) |
|
1060 DBG-DELTAS: FILELOG:b: rev=0: search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) |
|
1061 DBG-DELTAS: FILELOG:c: rev=0: search-rounds=0 try-count=0 - delta-type=full snap-depth=0 - p1-chain-length=-1 p2-chain-length=-1 - duration=* (glob) |
|
1062 added 3 changesets with 3 changes to 3 files |
|
1063 new changesets 4fe08cd4693e:4652c276ac4f (3 drafts) |
|
1064 (run 'hg update' to get a working copy) |
|
1065 |