tests/test-discovery-obshashrange.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 25 Jun 2017 16:37:56 +0200
branchstable
changeset 2659 166ca0aba0ea
parent 2551 ecd47c63b6de
child 2553 85cabd631a1b
child 2595 54ac473663ff
permissions -rw-r--r--
split: preserve author of the original changeset in the successors Previously, the new changesets were authored by the default user.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     1
test for range based discovery
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     2
==============================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     4
  $ . $TESTDIR/testlib/pythonpath.sh
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     5
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     6
  $ cat << EOF >> $HGRCPATH
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     7
  > [extensions]
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
     8
  > hgext3rd.evolve =
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
     9
  > blackbox =
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    10
  > [defaults]
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    11
  > blackbox = -l 100
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    12
  > [experimental]
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    13
  > obshashrange=1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    14
  > verbose-obsolescence-exchange=1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    15
  > [ui]
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    16
  > logtemplate = "{rev} {node|short} {desc} {tags}\n"
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    17
  > ssh=python "$RUNTESTDIR/dummyssh"
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    18
  > [alias]
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    19
  > debugobsolete=debugobsolete -d '0 0'
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    20
  > EOF
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    21
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    22
  $ getid() {
2425
51c62552fbbc tests: disable blackbox for 'getid'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
    23
  >     hg log --hidden --template '{node}\n' --rev "$1" --config 'extensions.blackbox=!'
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    24
  > }
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    25
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    26
  $ hg init server
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    27
  $ hg clone ssh://user@dummy/server client
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    28
  no changes found
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    29
  updating to branch default
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    30
  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    31
  $ cd server
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    32
  $ hg debugbuilddag '.+7'
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    33
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    34
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    35
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    36
  * @0000000000000000000000000000000000000000 (*)> debugbuilddag .+7 (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    37
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    38
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    39
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    40
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    41
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    42
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    43
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    44
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    45
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    46
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    47
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    48
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    49
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    50
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    51
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
    52
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
2435
0f101ca4b09a merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
    53
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (8r, 0o) (glob)
0f101ca4b09a merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
    54
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (8r, 0o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    55
  * @0000000000000000000000000000000000000000 (*)> debugbuilddag .+7 exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    56
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    57
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    58
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    59
  o  7 4de32a90b66c r7 tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    60
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    61
  o  6 f69452c5b1af r6
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    62
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    63
  o  5 c8d03c1b5e94 r5
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    64
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    65
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    66
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    67
  o  3 2dc09a01254d r3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    68
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    69
  o  2 01241442b3c2 r2
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    70
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    71
  o  1 66f7d451a68b r1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    72
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    73
  o  0 1ea73414a91b r0
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    74
  
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    75
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    76
  $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(r1)'`
2551
ecd47c63b6de obshashrange: add an option to protect from accidental activation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2530
diff changeset
    77
  $ hg debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb `getid 'desc(r2)'` --config experimental.obshashrange.max-revs=1
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    78
  $ hg debugobsolete cccccccccccccccccccccccccccccccccccccccc `getid 'desc(r4)'`
2459
5e6fc802bc8a obshashrange: add an option to disable local cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2425
diff changeset
    79
  $ hg debugobsolete dddddddddddddddddddddddddddddddddddddddd `getid 'desc(r5)'` --config experimental.obshashrange.warm-cache=0
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    80
  $ hg debugobsolete eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee `getid 'desc(r7)'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    81
  $ hg debugobsolete
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    82
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    83
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    84
  cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    85
  dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    86
  eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 4de32a90b66cd083ebf3c00b41277aa7abca51dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    87
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    88
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    89
  * @0000000000000000000000000000000000000000 (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    90
  * @0000000000000000000000000000000000000000 (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    91
  * @0000000000000000000000000000000000000000 (*)> log -G exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    92
  * @0000000000000000000000000000000000000000 (*)> debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    93
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
    94
  * @0000000000000000000000000000000000000000 (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
    95
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
    96
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    97
  * @0000000000000000000000000000000000000000 (*)> debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    98
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    99
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   100
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2551
ecd47c63b6de obshashrange: add an option to protect from accidental activation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2530
diff changeset
   101
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 --config 'experimental.obshashrange.max-revs=1' exited 0 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   102
  * @0000000000000000000000000000000000000000 (*)> debugobsolete cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   103
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   104
  * @0000000000000000000000000000000000000000 (*)> obshashcache reset - new markers affect cached ranges (glob)
2551
ecd47c63b6de obshashrange: add an option to protect from accidental activation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2530
diff changeset
   105
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 2o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   106
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   107
  * @0000000000000000000000000000000000000000 (*)> debugobsolete cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   108
  * @0000000000000000000000000000000000000000 (*)> debugobsolete dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   109
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   110
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2459
5e6fc802bc8a obshashrange: add an option to disable local cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2425
diff changeset
   111
  * @0000000000000000000000000000000000000000 (*)> debugobsolete dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 --config 'experimental.obshashrange.warm-cache=0' exited 0 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   112
  * @0000000000000000000000000000000000000000 (*)> debugobsolete eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 4de32a90b66cd083ebf3c00b41277aa7abca51dd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   113
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   114
  * @0000000000000000000000000000000000000000 (*)> obshashcache reset - new markers affect cached ranges (glob)
2459
5e6fc802bc8a obshashrange: add an option to disable local cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2425
diff changeset
   115
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 2o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   116
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   117
  * @0000000000000000000000000000000000000000 (*)> debugobsolete eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 4de32a90b66cd083ebf3c00b41277aa7abca51dd exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   118
  * @0000000000000000000000000000000000000000 (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   119
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   120
  * @0000000000000000000000000000000000000000 (*)> debugobsolete exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   121
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   122
  $ rm .hg/blackbox.log
2230
a202f3af890c debugobshashrange: add a --subranges option
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2229
diff changeset
   123
  $ hg debugobshashrange --subranges --rev tip
2228
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   124
           rev         node        index         size        depth      obshash
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   125
             7 4de32a90b66c            0            8            8 38d1e7ad86ea
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   126
             3 2dc09a01254d            0            4            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   127
             7 4de32a90b66c            4            4            8 38d1e7ad86ea
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   128
             3 2dc09a01254d            2            2            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   129
             7 4de32a90b66c            6            2            8 033544c939f0
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   130
             1 66f7d451a68b            0            2            2 17ff8dd63509
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   131
             5 c8d03c1b5e94            4            2            6 57f6cf3757a2
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   132
             2 01241442b3c2            2            1            3 1ed3c61fb39a
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   133
             0 1ea73414a91b            0            1            1 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   134
             3 2dc09a01254d            3            1            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   135
             7 4de32a90b66c            7            1            8 033544c939f0
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   136
             1 66f7d451a68b            1            1            2 17ff8dd63509
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   137
             4 bebd167eb94d            4            1            5 bbe4d7fe27a8
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   138
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   139
             6 f69452c5b1af            6            1            7 000000000000
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   140
  $ cd .. 
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   141
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   142
testing simple pull
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   143
===================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   144
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   145
  $ cd client
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   146
  $ hg pull --rev 4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   147
  pulling from ssh://user@dummy/server
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   148
  adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   149
  adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   150
  adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   151
  added 5 changesets with 0 changes to 0 files
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   152
  3 new obsolescence markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   153
  (run 'hg update' to get a working copy)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   154
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   155
  * @0000000000000000000000000000000000000000 (*)> debugobshashrange --subranges --rev tip (glob)
2381
07725f25296b stablerange: log time spent updating the stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2380
diff changeset
   156
  * @0000000000000000000000000000000000000000 (*)> updated stablerange cache in *.???? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   157
  * @0000000000000000000000000000000000000000 (*)> debugobshashrange --subranges --rev tip exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   158
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   159
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   160
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   161
  $ rm ../server/.hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   162
  $ hg -R ../server/ debugobsolete --rev ::4 | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   163
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   164
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   165
  cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   166
  $ rm ../server/.hg/blackbox.log
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   167
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   168
  * @0000000000000000000000000000000000000000 (*)> pull --rev 4 (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   169
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   170
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
2381
07725f25296b stablerange: log time spent updating the stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2380
diff changeset
   171
  * @0000000000000000000000000000000000000000 (*)> updated stablerange cache in *.???? seconds (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   172
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (5r, 3o) (glob)
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   173
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (5r, 3o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   174
  * @0000000000000000000000000000000000000000 (*)> 5 incoming changes - new heads: bebd167eb94d (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   175
  * @0000000000000000000000000000000000000000 (*)> pull --rev 4 exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   176
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   177
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   178
  $ hg debugobsolete | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   179
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   180
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   181
  cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   182
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   183
testing simple push
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   184
===================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   185
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   186
  $ hg up
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   187
  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   188
  $ echo foo > foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   189
  $ hg add foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   190
  $ hg commit -m foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   191
  $ hg debugobsolete ffffffffffffffffffffffffffffffffffffffff `getid '.'`
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   192
  $ hg push -f --debug
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   193
  pushing to ssh://user@dummy/server
2419
4ac190d88b57 tests: glob an absolute path
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2409
diff changeset
   194
  running python "*/dummyssh" user@dummy 'hg -R server serve --stdio' (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   195
  sending hello command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   196
  sending between command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   197
  remote: 516
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   198
  remote: capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v0 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch branchmap bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps changegroupsubset getbundle known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   199
  remote: 1
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   200
  preparing listkeys for "phases"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   201
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   202
  received listkey for "phases": 58 bytes
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   203
  query 1; heads
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   204
  sending batch command
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   205
  searching for changes
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   206
  taking quick initial sample
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   207
  query 2; still undecided: 5, sample size is: 5
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   208
  sending known command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   209
  2 total queries
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   210
  preparing listkeys for "phases"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   211
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   212
  received listkey for "phases": 58 bytes
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   213
  preparing listkeys for "namespaces"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   214
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   215
  received listkey for "namespaces": 40 bytes
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   216
  OBSEXC: computing relevant nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   217
  OBSEXC: looking for common markers in 6 nodes
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   218
  query 0; add more sample (target 100, current 1)
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   219
  query 0; sample size is 9, largest range 5
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   220
  sending evoext_obshashrange_v0 command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   221
  obsdiscovery, 0/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   222
  OBSEXC: computing markers relevant to 1 nodes
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   223
  checking for updated bookmarks
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   224
  preparing listkeys for "bookmarks"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   225
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   226
  received listkey for "bookmarks": 0 bytes
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   227
  1 changesets found
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   228
  list of changesets:
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   229
  45f8b879de922f6a6e620ba04205730335b6fc7e
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   230
  sending unbundle command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   231
  bundle2-output-bundle: "HG20", 4 parts total
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   232
  bundle2-output-part: "replycaps" 172 bytes payload
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   233
  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   234
  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   235
  bundle2-output-part: "obsmarkers" streamed payload
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   236
  remote: adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   237
  remote: adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   238
  remote: adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   239
  remote: added 1 changesets with 1 changes to 1 files (+1 heads)
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   240
  remote: 1 new obsolescence markers
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   241
  bundle2-input-bundle: with-transaction
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   242
  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   243
  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   244
  bundle2-input-part: "reply:obsmarkers" (params: 0 advisory) supported
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   245
  bundle2-input-bundle: 2 parts total
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   246
  preparing listkeys for "phases"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   247
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   248
  received listkey for "phases": 58 bytes
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   249
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   250
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   251
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (1r, 0o) (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   252
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   253
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 2 nodes (glob)
2435
0f101ca4b09a merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
   254
  * @0000000000000000000000000000000000000000 (*)> updated stablerange cache in *.???? seconds (glob)
0f101ca4b09a merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
   255
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   256
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   257
  * @0000000000000000000000000000000000000000 (*)> 1 incoming changes - new heads: 45f8b879de92 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   258
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   259
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   260
  $ rm ../server/.hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   261
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   262
testing push with extra local markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   263
=====================================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   264
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   265
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   266
  @  5 45f8b879de92 foo tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   267
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   268
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   269
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   270
  o  3 2dc09a01254d r3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   271
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   272
  o  2 01241442b3c2 r2
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   273
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   274
  o  1 66f7d451a68b r1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   275
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   276
  o  0 1ea73414a91b r0
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   277
  
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   278
  $ hg debugobsolete 111111111111111aaaaaaaaa1111111111111111 `getid 'desc(r1)'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   279
  $ hg debugobsolete 22222222222222222bbbbbbbbbbbbb2222222222 `getid 'desc(r3)'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   280
  $ hg push
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   281
  pushing to ssh://user@dummy/server
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   282
  searching for changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   283
  OBSEXC: computing relevant nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   284
  OBSEXC: looking for common markers in 6 nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   285
  OBSEXC: computing markers relevant to 2 nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   286
  no changes found
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   287
  remote: 2 new obsolescence markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   288
  [1]
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   289
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   290
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   291
  * @0000000000000000000000000000000000000000 (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   292
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 2o) (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   293
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 2o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   294
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   295
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   296
  $ rm ../server/.hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   297
  $ hg -R ../server/ debugobsolete --rev ::tip | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   298
  111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   299
  22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   300
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   301
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   302
  cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   303
  ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   304
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   305
  * @0000000000000000000000000000000000000000 (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   306
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   307
  * @0000000000000000000000000000000000000000 (*)> debugobsolete exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   308
  * @0000000000000000000000000000000000000000 (*)> up (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   309
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> up exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   310
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> add foo (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   311
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> add foo exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   312
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> commit -m foo (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   313
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache in *.???? seconds (1r, 0o) (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   314
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   315
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   316
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 0o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   317
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> commit -m foo exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   318
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   319
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   320
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   321
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   322
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   323
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e exited 0 after *.?? seconds (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   324
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f --debug (glob)
2381
07725f25296b stablerange: log time spent updating the stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2380
diff changeset
   325
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated stablerange cache in *.???? seconds (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   326
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 0/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   327
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f --debug exited 0 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   328
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   329
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   330
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   331
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   332
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   333
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   334
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   335
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   336
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   337
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   338
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   339
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   340
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   341
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   342
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   343
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   344
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 2/6 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   345
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push exited True after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   346
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   347
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   348
  $ hg debugobsolete | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   349
  111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   350
  22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   351
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   352
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   353
  cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   354
  ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   355
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   356
testing pull with extra remote markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   357
=====================================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   358
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   359
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   360
  @  5 45f8b879de92 foo tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   361
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   362
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   363
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   364
  o  3 2dc09a01254d r3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   365
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   366
  o  2 01241442b3c2 r2
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   367
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   368
  o  1 66f7d451a68b r1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   369
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   370
  o  0 1ea73414a91b r0
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   371
  
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   372
  $ hg -R ../server debugobsolete aaaaaaa11111111aaaaaaaaa1111111111111111 `getid 'desc(r1)'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   373
  $ hg -R ../server debugobsolete bbbbbbb2222222222bbbbbbbbbbbbb2222222222 `getid 'desc(r4)'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   374
  $ hg pull -r 6
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   375
  pulling from ssh://user@dummy/server
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   376
  searching for changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   377
  OBSEXC: looking for common markers in 6 nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   378
  OBSEXC: request obsmarkers for 2 common nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   379
  adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   380
  adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   381
  adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   382
  added 2 changesets with 0 changes to 0 files (+1 heads)
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   383
  3 new obsolescence markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   384
  (run 'hg heads' to see heads, 'hg merge' to merge)
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   385
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   386
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   387
  * @0000000000000000000000000000000000000000 (*)> debugobsolete --rev '::tip' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   388
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   389
  * @0000000000000000000000000000000000000000 (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   390
  * @0000000000000000000000000000000000000000 (*)> -R ../server/ debugobsolete --rev '::tip' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   391
  * @0000000000000000000000000000000000000000 (*)> debugobsolete aaaaaaa11111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   392
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   393
  * @0000000000000000000000000000000000000000 (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   394
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   395
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   396
  * @0000000000000000000000000000000000000000 (*)> -R ../server debugobsolete aaaaaaa11111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   397
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbb2222222222bbbbbbbbbbbbb2222222222 bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   398
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   399
  * @0000000000000000000000000000000000000000 (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   400
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   401
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   402
  * @0000000000000000000000000000000000000000 (*)> -R ../server debugobsolete bbbbbbb2222222222bbbbbbbbbbbbb2222222222 bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   403
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   404
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   405
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   406
  $ rm ../server/.hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   407
  $ hg -R ../server/ debugobsolete --rev '::6' | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   408
  111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   409
  22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   410
  aaaaaaa11111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   411
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   412
  bbbbbbb2222222222bbbbbbbbbbbbb2222222222 bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   413
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   414
  cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   415
  dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   416
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   417
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   418
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   419
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   420
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   421
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   422
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r 6 (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   423
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 2/6 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   424
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (2r, 0o) (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   425
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   426
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> wrote served branch cache with 1 labels and 2 nodes (glob)
2381
07725f25296b stablerange: log time spent updating the stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2380
diff changeset
   427
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated stablerange cache in *.???? seconds (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   428
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   429
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (2r, 3o) (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   430
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 3o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   431
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 2 incoming changes - new heads: f69452c5b1af (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   432
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r 6 exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   433
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   434
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   435
  $ hg debugobsolete --rev '::6' | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   436
  111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   437
  22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   438
  aaaaaaa11111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   439
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   440
  bbbbbbb2222222222bbbbbbbbbbbbb2222222222 bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   441
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   442
  cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   443
  dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   444
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   445
Test cache behavior
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   446
===================
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   447
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   448
Adding markers affecting already used range:
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   449
--------------------------------------------
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   450
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   451
  $ hg debugobshashrange --subranges --rev 'heads(all())'
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   452
           rev         node        index         size        depth      obshash
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   453
             7 f69452c5b1af            0            7            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   454
             5 45f8b879de92            0            6            6 1643971dbe2d
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   455
             3 2dc09a01254d            0            4            4 6be48f31976a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   456
             7 f69452c5b1af            4            3            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   457
             3 2dc09a01254d            2            2            4 9522069ae085
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   458
             5 45f8b879de92            4            2            6 9c26c72819c0
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   459
             1 66f7d451a68b            0            2            2 853c77a32154
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   460
             6 c8d03c1b5e94            4            2            6 ec8a3e92c525
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   461
             2 01241442b3c2            2            1            3 1ed3c61fb39a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   462
             0 1ea73414a91b            0            1            1 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   463
             3 2dc09a01254d            3            1            4 8a2acf8e1cde
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   464
             5 45f8b879de92            5            1            6 1a0c08180b65
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   465
             1 66f7d451a68b            1            1            2 853c77a32154
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   466
             4 bebd167eb94d            4            1            5 20a2cc572e4b
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   467
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   468
             7 f69452c5b1af            6            1            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   469
  $ hg -R ../server debugobsolete aaaa333333333aaaaa333a3a3a3a3a3a3a3a3a3a `getid 'desc(r1)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   470
  $ hg -R ../server debugobsolete bb4b4b4b4b4b4b4b44b4b4b4b4b4b4b4b4b4b4b4 `getid 'desc(r3)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   471
  $ hg pull -r `getid 'desc(r6)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   472
  pulling from ssh://user@dummy/server
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   473
  no changes found
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   474
  OBSEXC: looking for common markers in 7 nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   475
  OBSEXC: request obsmarkers for 2 common nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   476
  2 new obsolescence markers
2386
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   477
  $ hg debugobshashrange --subranges --rev 'desc("r3")' -R ../server
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   478
           rev         node        index         size        depth      obshash
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   479
             3 2dc09a01254d            0            4            4 8932bf980bb4
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   480
             3 2dc09a01254d            2            2            4 ce1937ca1278
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   481
             1 66f7d451a68b            0            2            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   482
             2 01241442b3c2            2            1            3 1ed3c61fb39a
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   483
             0 1ea73414a91b            0            1            1 000000000000
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   484
             3 2dc09a01254d            3            1            4 26f996446ecb
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   485
             1 66f7d451a68b            1            1            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   486
  $ hg debugobshashrange --subranges --rev 'desc("r3")'
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   487
           rev         node        index         size        depth      obshash
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   488
             3 2dc09a01254d            0            4            4 8932bf980bb4
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   489
             3 2dc09a01254d            2            2            4 ce1937ca1278
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   490
             1 66f7d451a68b            0            2            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   491
             2 01241442b3c2            2            1            3 1ed3c61fb39a
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   492
             0 1ea73414a91b            0            1            1 000000000000
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   493
             3 2dc09a01254d            3            1            4 26f996446ecb
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   494
             1 66f7d451a68b            1            1            2 327c7dd73d29
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   495
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   496
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   497
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   498
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   499
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   500
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   501
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   502
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   503
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 2/7 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   504
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   505
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 2o) (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   506
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 2o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   507
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 exited 0 after *.?? seconds (glob)
2386
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   508
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'desc("r3")' (glob)
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   509
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'desc("r3")' exited 0 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   510
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   511
  $ rm .hg/blackbox.log
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   512
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   513
Adding prune markers on existing changeset
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   514
------------------------------------------
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   515
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   516
  $ hg -R ../server debugobsolete --record-parents `getid 'desc(foo)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   517
  $ hg pull -r `getid 'desc(r4)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   518
  pulling from ssh://user@dummy/server
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   519
  no changes found
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   520
  OBSEXC: looking for common markers in 5 nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   521
  OBSEXC: request obsmarkers for 1 common nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   522
  1 new obsolescence markers
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   523
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   524
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   525
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 1/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   526
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache reset - new markers affect cached ranges (glob)
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   527
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   528
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   529
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   530
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   531
  $ rm .hg/blackbox.log
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   532
  $ hg debugobshashrange --subranges --rev 'heads(all())'
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   533
           rev         node        index         size        depth      obshash
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   534
             7 f69452c5b1af            0            7            7 000000000000
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   535
             5 45f8b879de92            0            6            6 7c49a958a9ac
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   536
             3 2dc09a01254d            0            4            4 8932bf980bb4
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   537
             7 f69452c5b1af            4            3            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   538
             3 2dc09a01254d            2            2            4 ce1937ca1278
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   539
             5 45f8b879de92            4            2            6 c6795525c540
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   540
             1 66f7d451a68b            0            2            2 327c7dd73d29
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   541
             6 c8d03c1b5e94            4            2            6 89755fd39e6d
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   542
             2 01241442b3c2            2            1            3 1ed3c61fb39a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   543
             0 1ea73414a91b            0            1            1 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   544
             3 2dc09a01254d            3            1            4 26f996446ecb
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   545
             5 45f8b879de92            5            1            6 796507769034
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   546
             1 66f7d451a68b            1            1            2 327c7dd73d29
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   547
             4 bebd167eb94d            4            1            5 b21465ecb790
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   548
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   549
             7 f69452c5b1af            6            1            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   550
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   551
Recover after rollback
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   552
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   553
  $ hg pull
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   554
  pulling from ssh://user@dummy/server
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   555
  searching for changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   556
  OBSEXC: looking for common markers in 8 nodes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   557
  adding changesets
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   558
  adding manifests
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   559
  adding file changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   560
  added 1 changesets with 0 changes to 0 files
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   561
  1 new obsolescence markers
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   562
  (run 'hg update' to get a working copy)
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   563
  $ hg rollback
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   564
  repository tip rolled back to revision 7 (undo pull)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   565
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   566
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   567
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   568
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   569
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 0/8 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   570
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (1r, 0o) (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   571
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   572
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> wrote served branch cache with 1 labels and 2 nodes (glob)
2435
0f101ca4b09a merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
   573
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated stablerange cache in *.???? seconds (glob)
0f101ca4b09a merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
   574
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   575
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   576
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 1 incoming changes - new heads: 4de32a90b66c (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   577
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   578
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> rollback (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   579
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated base branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   580
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> wrote base branch cache with 1 labels and 2 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   581
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> rollback exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   582
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   583
  $ rm .hg/blackbox.log
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   584
  $ hg debugobshashrange --subranges --rev 'heads(all())'
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   585
           rev         node        index         size        depth      obshash
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   586
             7 f69452c5b1af            0            7            7 000000000000
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   587
             5 45f8b879de92            0            6            6 7c49a958a9ac
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   588
             3 2dc09a01254d            0            4            4 8932bf980bb4
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   589
             7 f69452c5b1af            4            3            7 000000000000
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   590
             3 2dc09a01254d            2            2            4 ce1937ca1278
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   591
             5 45f8b879de92            4            2            6 c6795525c540
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   592
             1 66f7d451a68b            0            2            2 327c7dd73d29
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   593
             6 c8d03c1b5e94            4            2            6 89755fd39e6d
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   594
             2 01241442b3c2            2            1            3 1ed3c61fb39a
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   595
             0 1ea73414a91b            0            1            1 000000000000
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   596
             3 2dc09a01254d            3            1            4 26f996446ecb
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   597
             5 45f8b879de92            5            1            6 796507769034
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   598
             1 66f7d451a68b            1            1            2 327c7dd73d29
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   599
             4 bebd167eb94d            4            1            5 b21465ecb790
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   600
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   601
             7 f69452c5b1af            6            1            7 000000000000
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   602
  $ hg pull
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   603
  pulling from ssh://user@dummy/server
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   604
  searching for changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   605
  OBSEXC: looking for common markers in 8 nodes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   606
  adding changesets
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   607
  adding manifests
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   608
  adding file changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   609
  added 1 changesets with 0 changes to 0 files
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   610
  1 new obsolescence markers
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   611
  (run 'hg update' to get a working copy)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   612
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   613
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob)
2381
07725f25296b stablerange: log time spent updating the stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2380
diff changeset
   614
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated stablerange cache in *.???? seconds (glob)
2382
42092b9d6d25 dualsourcecache: log cache reset
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2381
diff changeset
   615
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-obshashrange cache reset (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   616
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (8r, 12o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   617
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   618
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   619
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 0/8 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   620
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-obscache cache reset (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   621
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (9r, 12o) (glob)
2381
07725f25296b stablerange: log time spent updating the stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2380
diff changeset
   622
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated stablerange cache in *.???? seconds (glob)
2392
6be71b8f3408 obshashrange: stop marking on-disk data as invalid on clear
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2386
diff changeset
   623
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   624
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   625
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 1 incoming changes - new heads: 4de32a90b66c (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   626
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   627
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   628
  $ rm .hg/blackbox.log
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   629
  $ hg debugobshashrange --subranges --rev 'heads(all())'
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   630
           rev         node        index         size        depth      obshash
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   631
             8 4de32a90b66c            0            8            8 c7f1f7e9925b
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   632
             5 45f8b879de92            0            6            6 7c49a958a9ac
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   633
             3 2dc09a01254d            0            4            4 8932bf980bb4
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   634
             8 4de32a90b66c            4            4            8 c681c3e58c27
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   635
             3 2dc09a01254d            2            2            4 ce1937ca1278
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   636
             5 45f8b879de92            4            2            6 c6795525c540
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   637
             8 4de32a90b66c            6            2            8 033544c939f0
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   638
             1 66f7d451a68b            0            2            2 327c7dd73d29
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   639
             6 c8d03c1b5e94            4            2            6 89755fd39e6d
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   640
             2 01241442b3c2            2            1            3 1ed3c61fb39a
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   641
             0 1ea73414a91b            0            1            1 000000000000
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   642
             3 2dc09a01254d            3            1            4 26f996446ecb
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   643
             5 45f8b879de92            5            1            6 796507769034
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   644
             8 4de32a90b66c            7            1            8 033544c939f0
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   645
             1 66f7d451a68b            1            1            2 327c7dd73d29
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   646
             4 bebd167eb94d            4            1            5 b21465ecb790
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   647
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   648
             7 f69452c5b1af            6            1            7 000000000000
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   649
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   650
Recover after stripping (in the middle of the repo)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   651
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   652
We strip a branch that is not the tip of the reporiosy so part of the affected
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   653
revision are reapplied after the target is stripped.
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   654
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   655
  $ hg log -G
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   656
  o  8 4de32a90b66c r7 tip
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   657
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   658
  o  7 f69452c5b1af r6
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   659
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   660
  o  6 c8d03c1b5e94 r5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   661
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   662
  | @  5 45f8b879de92 foo
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   663
  |/
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   664
  o  4 bebd167eb94d r4
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   665
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   666
  o  3 2dc09a01254d r3
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   667
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   668
  o  2 01241442b3c2 r2
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   669
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   670
  o  1 66f7d451a68b r1
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   671
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   672
  o  0 1ea73414a91b r0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   673
  
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   674
  $ hg --config extensions.strip= strip -r 'desc("foo")'
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   675
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   676
  saved backup bundle to $TESTTMP/client/.hg/strip-backup/45f8b879de92-94c82517-backup.hg (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   677
  $ hg log -G
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   678
  o  7 4de32a90b66c r7 tip
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   679
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   680
  o  6 f69452c5b1af r6
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   681
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   682
  o  5 c8d03c1b5e94 r5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   683
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   684
  @  4 bebd167eb94d r4
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   685
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   686
  o  3 2dc09a01254d r3
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   687
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   688
  o  2 01241442b3c2 r2
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   689
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   690
  o  1 66f7d451a68b r1
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   691
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   692
  o  0 1ea73414a91b r0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   693
  
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   694
  $ hg pull
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   695
  pulling from ssh://user@dummy/server
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   696
  searching for changes
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   697
  OBSEXC: looking for common markers in 8 nodes
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   698
  adding changesets
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   699
  adding manifests
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   700
  adding file changes
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   701
  added 1 changesets with 1 changes to 1 files (+1 heads)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   702
  (run 'hg heads' to see heads, 'hg merge' to merge)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   703
  $ hg log -G
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   704
  o  8 45f8b879de92 foo tip
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   705
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   706
  | o  7 4de32a90b66c r7
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   707
  | |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   708
  | o  6 f69452c5b1af r6
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   709
  | |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   710
  | o  5 c8d03c1b5e94 r5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   711
  |/
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   712
  @  4 bebd167eb94d r4
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   713
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   714
  o  3 2dc09a01254d r3
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   715
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   716
  o  2 01241442b3c2 r2
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   717
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   718
  o  1 66f7d451a68b r1
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   719
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   720
  o  0 1ea73414a91b r0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   721
  
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   722
  $ hg blackbox
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   723
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   724
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   725
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   726
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   727
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   728
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip -r 'desc("foo")' (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   729
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> saved backup bundle to $TESTTMP/client/.hg/strip-backup/45f8b879de92-94c82517-backup.hg (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   730
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-obshashrange cache reset (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   731
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obshashrange in *.???? seconds (5r, 13o) (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   732
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-obscache cache reset (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   733
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache in *.???? seconds (5r, 13o) (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   734
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated stablerange cache in *.???? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   735
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obshashrange in *.???? seconds (3r, 0o) (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   736
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache in *.???? seconds (3r, 0o) (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   737
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated base branch cache in *.???? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   738
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> wrote base branch cache with 1 labels and 1 nodes (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   739
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> 3 incoming changes - new heads: 4de32a90b66c (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   740
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> --config 'extensions.strip=' strip -r 'desc("foo")' exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   741
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   742
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   743
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   744
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> pull (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   745
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> obsdiscovery, 0/8 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   746
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache in *.???? seconds (1r, 0o) (glob)
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   747
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated stablerange cache in *.???? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   748
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 0o) (glob)
2530
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   749
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated served branch cache in *.???? seconds (glob)
606722a686ef merge with default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2525
diff changeset
   750
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> wrote served branch cache with 1 labels and 2 nodes (glob)
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   751
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> 1 incoming changes - new heads: 45f8b879de92 (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   752
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> pull exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   753
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   754
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   755
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   756
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> blackbox (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   757
  $ rm .hg/blackbox.log
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   758
  $ hg debugobshashrange --subranges --rev 'heads(all())'
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   759
           rev         node        index         size        depth      obshash
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   760
             7 4de32a90b66c            0            8            8 c7f1f7e9925b
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   761
             8 45f8b879de92            0            6            6 7c49a958a9ac
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   762
             3 2dc09a01254d            0            4            4 8932bf980bb4
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   763
             7 4de32a90b66c            4            4            8 c681c3e58c27
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   764
             3 2dc09a01254d            2            2            4 ce1937ca1278
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   765
             8 45f8b879de92            4            2            6 c6795525c540
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   766
             7 4de32a90b66c            6            2            8 033544c939f0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   767
             1 66f7d451a68b            0            2            2 327c7dd73d29
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   768
             5 c8d03c1b5e94            4            2            6 89755fd39e6d
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   769
             2 01241442b3c2            2            1            3 1ed3c61fb39a
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   770
             0 1ea73414a91b            0            1            1 000000000000
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   771
             3 2dc09a01254d            3            1            4 26f996446ecb
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   772
             8 45f8b879de92            5            1            6 796507769034
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   773
             7 4de32a90b66c            7            1            8 033544c939f0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   774
             1 66f7d451a68b            1            1            2 327c7dd73d29
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   775
             4 bebd167eb94d            4            1            5 b21465ecb790
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   776
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   777
             6 f69452c5b1af            6            1            7 000000000000
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   778