tests/test-discovery-obshashrange.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 17 May 2017 12:27:13 +0200
changeset 2393 2a194fe1a557
parent 2392 6be71b8f3408
child 2401 53227fdc83e8
permissions -rw-r--r--
obsrangecache: raise programming error when using an unwarmed cache This will provide a better experience for developer using this the cache.
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() {
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    23
  >     hg log --hidden --template '{node}\n' --rev "$1"
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)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    37
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    38
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    39
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    40
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    41
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    42
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    43
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    44
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    45
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    46
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    47
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    48
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    49
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    50
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    51
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    52
  * @0000000000000000000000000000000000000000 (*)> wrote served branch cache with 1 labels and 1 nodes (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
    53
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (8r, 0o) (glob)
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
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)'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    77
  $ hg debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb `getid 'desc(r2)'`
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)'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    79
  $ hg debugobsolete dddddddddddddddddddddddddddddddddddddddd `getid 'desc(r5)'`
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 (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    93
  * @0000000000000000000000000000000000000000 (*)> writing .hg/cache/tags2 with 0 tags (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    94
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    95
  * @0000000000000000000000000000000000000000 (*)> debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    96
  * @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
    97
  * @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
    98
  * @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
    99
  * @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
   100
  * @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
   101
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r2)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   102
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r2)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   103
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   104
  * @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
   105
  * @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
   106
  * @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
   107
  * @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
   108
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   109
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   110
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   111
  * @0000000000000000000000000000000000000000 (*)> debugobsolete cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   112
  * @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
   113
  * @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
   114
  * @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
   115
  * @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
   116
  * @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
   117
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r5)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   118
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r5)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   119
  * @0000000000000000000000000000000000000000 (*)> debugobsolete dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   120
  * @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
   121
  * @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
   122
  * @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
   123
  * @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
   124
  * @0000000000000000000000000000000000000000 (*)> debugobsolete dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   125
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r7)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   126
  * @0000000000000000000000000000000000000000 (*)> log --hidden --template '{node}\n' --rev 'desc(r7)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   127
  * @0000000000000000000000000000000000000000 (*)> debugobsolete eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 4de32a90b66cd083ebf3c00b41277aa7abca51dd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   128
  * @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
   129
  * @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
   130
  * @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
   131
  * @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
   132
  * @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
   133
  * @0000000000000000000000000000000000000000 (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   134
  * @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
   135
  * @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
   136
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   137
  $ rm .hg/blackbox.log
2230
a202f3af890c debugobshashrange: add a --subranges option
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2229
diff changeset
   138
  $ hg debugobshashrange --subranges --rev tip
2228
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   139
           rev         node        index         size        depth      obshash
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   140
             7 4de32a90b66c            0            8            8 38d1e7ad86ea
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   141
             3 2dc09a01254d            0            4            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   142
             7 4de32a90b66c            4            4            8 38d1e7ad86ea
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   143
             3 2dc09a01254d            2            2            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   144
             7 4de32a90b66c            6            2            8 033544c939f0
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   145
             1 66f7d451a68b            0            2            2 17ff8dd63509
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   146
             5 c8d03c1b5e94            4            2            6 57f6cf3757a2
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   147
             2 01241442b3c2            2            1            3 1ed3c61fb39a
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   148
             0 1ea73414a91b            0            1            1 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   149
             3 2dc09a01254d            3            1            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   150
             7 4de32a90b66c            7            1            8 033544c939f0
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   151
             1 66f7d451a68b            1            1            2 17ff8dd63509
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   152
             4 bebd167eb94d            4            1            5 bbe4d7fe27a8
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   153
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   154
             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
   155
  $ cd .. 
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   156
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   157
testing simple pull
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   158
===================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   159
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   160
  $ cd client
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   161
  $ hg pull --rev 4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   162
  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
   163
  adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   164
  adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   165
  adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   166
  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
   167
  3 new obsolescence markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   168
  (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
   169
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   170
  * @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
   171
  * @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
   172
  * @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
   173
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   174
  * @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
   175
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   176
  $ 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
   177
  $ 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
   178
  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
   179
  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
   180
  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
   181
  $ rm ../server/.hg/blackbox.log
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   182
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   183
  * @0000000000000000000000000000000000000000 (*)> pull --rev 4 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   184
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   185
  * @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
   186
  * @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
   187
  * @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
   188
  * @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
   189
  * @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
   190
  * @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
   191
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   192
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   193
  $ hg debugobsolete | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   194
  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
   195
  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
   196
  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
   197
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   198
testing simple push
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   199
===================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   200
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   201
  $ hg up
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   202
  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
   203
  $ echo foo > foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   204
  $ hg add foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   205
  $ hg commit -m foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   206
  $ hg debugobsolete ffffffffffffffffffffffffffffffffffffffff `getid '.'`
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   207
  $ hg push -f
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   208
  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
   209
  searching for changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   210
  OBSEXC: computing relevant nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   211
  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
   212
  OBSEXC: computing markers relevant to 1 nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   213
  remote: adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   214
  remote: adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   215
  remote: adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   216
  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
   217
  remote: 1 new obsolescence markers
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   218
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   219
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   220
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache 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
   221
  * @0000000000000000000000000000000000000000 (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   222
  * @0000000000000000000000000000000000000000 (*)> 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
   223
  * @0000000000000000000000000000000000000000 (*)> 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
   224
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   225
  * @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
   226
  * @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
   227
  * @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
   228
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   229
  $ 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
   230
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   231
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
   232
=====================================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   233
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   234
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   235
  @  5 45f8b879de92 foo tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   236
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   237
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   238
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   239
  o  3 2dc09a01254d r3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   240
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   241
  o  2 01241442b3c2 r2
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   242
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   243
  o  1 66f7d451a68b r1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   244
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   245
  o  0 1ea73414a91b r0
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   246
  
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   247
  $ 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
   248
  $ 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
   249
  $ hg push
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   250
  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
   251
  searching for changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   252
  OBSEXC: computing relevant nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   253
  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
   254
  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
   255
  no changes found
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   256
  remote: 2 new obsolescence markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   257
  [1]
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   258
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   259
  * @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
   260
  * @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
   261
  * @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
   262
  * @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
   263
  * @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
   264
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   265
  $ 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
   266
  $ 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
   267
  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
   268
  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
   269
  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
   270
  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
   271
  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
   272
  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
   273
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   274
  * @0000000000000000000000000000000000000000 (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   275
  * @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
   276
  * @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
   277
  * @0000000000000000000000000000000000000000 (*)> up (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   278
  * @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
   279
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> add foo (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   280
  * @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
   281
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> commit -m foo (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   282
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache 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
   283
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   284
  * @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
   285
  * @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
   286
  * @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
   287
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev . (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   288
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev . exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   289
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   290
  * @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
   291
  * @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
   292
  * @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
   293
  * @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
   294
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e 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
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f (glob)
2381
07725f25296b stablerange: log time spent updating the stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2380
diff changeset
   296
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 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
   297
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   298
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   299
  * @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
   300
  * @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
   301
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   302
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2 with 0 tags (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   303
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   304
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   305
  * @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
   306
  * @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
   307
  * @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
   308
  * @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
   309
  * @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
   310
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r3)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   311
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r3)' 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
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   313
  * @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
   314
  * @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
   315
  * @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
   316
  * @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
   317
  * @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
   318
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   319
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push exited 1 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   320
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   321
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   322
  $ hg debugobsolete | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   323
  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
   324
  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
   325
  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
   326
  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
   327
  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
   328
  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
   329
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   330
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
   331
=====================================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   332
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   333
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   334
  @  5 45f8b879de92 foo tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   335
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   336
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   337
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   338
  o  3 2dc09a01254d r3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   339
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   340
  o  2 01241442b3c2 r2
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   341
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   342
  o  1 66f7d451a68b r1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   343
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   344
  o  0 1ea73414a91b r0
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   345
  
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   346
  $ 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
   347
  $ 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
   348
  $ hg pull -r 6
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   349
  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
   350
  searching for changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   351
  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
   352
  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
   353
  adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   354
  adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   355
  adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   356
  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
   357
  3 new obsolescence markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   358
  (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
   359
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   360
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   361
  * @0000000000000000000000000000000000000000 (*)> debugobsolete --rev '::tip' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   362
  * @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
   363
  * @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
   364
  * @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
   365
  * @0000000000000000000000000000000000000000 (*)> debugobsolete aaaaaaa11111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   366
  * @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
   367
  * @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
   368
  * @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
   369
  * @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
   370
  * @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
   371
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbb2222222222bbbbbbbbbbbbb2222222222 bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   372
  * @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
   373
  * @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
   374
  * @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
   375
  * @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
   376
  * @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
   377
  * @0000000000000000000000000000000000000000 (*)> serve --stdio (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   378
  * @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
   379
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   380
  $ 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
   381
  $ 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
   382
  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
   383
  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
   384
  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
   385
  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
   386
  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
   387
  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
   388
  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
   389
  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
   390
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   391
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   392
  * @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
   393
  * @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
   394
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   395
  * @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
   396
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   397
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   398
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   399
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   400
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r 6 (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   401
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (2r, 0o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   402
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   403
  * @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
   404
  * @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
   405
  * @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
   406
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (2r, 3o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   407
  * @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
   408
  * @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
   409
  * @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
   410
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   411
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   412
  $ hg debugobsolete --rev '::6' | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   413
  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
   414
  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
   415
  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
   416
  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
   417
  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
   418
  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
   419
  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
   420
  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
   421
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   422
Test cache behavior
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   423
===================
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   424
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   425
Adding markers affecting already used range:
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   426
--------------------------------------------
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   427
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   428
  $ hg debugobshashrange --subranges --rev 'heads(all())'
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   429
           rev         node        index         size        depth      obshash
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   430
             7 f69452c5b1af            0            7            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   431
             5 45f8b879de92            0            6            6 1643971dbe2d
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   432
             3 2dc09a01254d            0            4            4 6be48f31976a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   433
             7 f69452c5b1af            4            3            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   434
             3 2dc09a01254d            2            2            4 9522069ae085
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   435
             5 45f8b879de92            4            2            6 9c26c72819c0
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   436
             1 66f7d451a68b            0            2            2 853c77a32154
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   437
             6 c8d03c1b5e94            4            2            6 ec8a3e92c525
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   438
             2 01241442b3c2            2            1            3 1ed3c61fb39a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   439
             0 1ea73414a91b            0            1            1 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   440
             3 2dc09a01254d            3            1            4 8a2acf8e1cde
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   441
             5 45f8b879de92            5            1            6 1a0c08180b65
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   442
             1 66f7d451a68b            1            1            2 853c77a32154
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   443
             4 bebd167eb94d            4            1            5 20a2cc572e4b
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   444
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   445
             7 f69452c5b1af            6            1            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   446
  $ hg -R ../server debugobsolete aaaa333333333aaaaa333a3a3a3a3a3a3a3a3a3a `getid 'desc(r1)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   447
  $ hg -R ../server debugobsolete bb4b4b4b4b4b4b4b44b4b4b4b4b4b4b4b4b4b4b4 `getid 'desc(r3)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   448
  $ hg pull -r `getid 'desc(r6)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   449
  pulling from ssh://user@dummy/server
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   450
  no changes found
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   451
  OBSEXC: looking for common markers in 7 nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   452
  OBSEXC: request obsmarkers for 2 common nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   453
  2 new obsolescence markers
2386
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   454
  $ 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
   455
           rev         node        index         size        depth      obshash
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   456
             3 2dc09a01254d            0            4            4 8932bf980bb4
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   457
             3 2dc09a01254d            2            2            4 ce1937ca1278
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   458
             1 66f7d451a68b            0            2            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   459
             2 01241442b3c2            2            1            3 1ed3c61fb39a
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   460
             0 1ea73414a91b            0            1            1 000000000000
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   461
             3 2dc09a01254d            3            1            4 26f996446ecb
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   462
             1 66f7d451a68b            1            1            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   463
  $ hg debugobshashrange --subranges --rev 'desc("r3")'
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   464
           rev         node        index         size        depth      obshash
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   465
             3 2dc09a01254d            0            4            4 8932bf980bb4
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   466
             3 2dc09a01254d            2            2            4 ce1937ca1278
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   467
             1 66f7d451a68b            0            2            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   468
             2 01241442b3c2            2            1            3 1ed3c61fb39a
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   469
             0 1ea73414a91b            0            1            1 000000000000
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   470
             3 2dc09a01254d            3            1            4 26f996446ecb
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   471
             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
   472
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   473
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   474
  * @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
   475
  * @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
   476
  * @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
   477
  * @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
   478
  * @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
   479
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   480
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2 with 0 tags (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   481
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r1)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   482
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r3)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   483
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r3)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   484
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r6)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   485
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r6)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   486
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 (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
   487
  * @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
   488
  * @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
   489
  * @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
   490
  * @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
   491
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'desc("r3")' (glob)
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   492
  * @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
   493
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   494
  $ rm .hg/blackbox.log
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   495
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   496
Adding prune markers on existing changeset
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   497
------------------------------------------
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   498
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   499
  $ 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
   500
  $ hg pull -r `getid 'desc(r4)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   501
  pulling from ssh://user@dummy/server
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   502
  no changes found
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   503
  OBSEXC: looking for common markers in 5 nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   504
  OBSEXC: request obsmarkers for 1 common nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   505
  1 new obsolescence markers
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   506
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   507
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(foo)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   508
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(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
   509
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   510
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' exited 0 after *.?? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   511
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (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
   512
  * @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
   513
  * @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
   514
  * @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
   515
  * @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
   516
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   517
  $ rm .hg/blackbox.log
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   518
  $ hg debugobshashrange --subranges --rev 'heads(all())'
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   519
           rev         node        index         size        depth      obshash
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   520
             7 f69452c5b1af            0            7            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   521
             5 45f8b879de92            0            6            6 b8a4206b0fc6
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   522
             3 2dc09a01254d            0            4            4 8932bf980bb4
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   523
             7 f69452c5b1af            4            3            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   524
             3 2dc09a01254d            2            2            4 ce1937ca1278
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   525
             5 45f8b879de92            4            2            6 31fc49d36a59
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   526
             1 66f7d451a68b            0            2            2 327c7dd73d29
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   527
             6 c8d03c1b5e94            4            2            6 89755fd39e6d
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   528
             2 01241442b3c2            2            1            3 1ed3c61fb39a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   529
             0 1ea73414a91b            0            1            1 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   530
             3 2dc09a01254d            3            1            4 26f996446ecb
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   531
             5 45f8b879de92            5            1            6 1a0c08180b65
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   532
             1 66f7d451a68b            1            1            2 327c7dd73d29
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   533
             4 bebd167eb94d            4            1            5 b21465ecb790
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   534
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   535
             7 f69452c5b1af            6            1            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   536
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   537
Recover after data stripping
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   538
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   539
  $ hg pull
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   540
  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
   541
  searching for changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   542
  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
   543
  adding changesets
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   544
  adding manifests
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   545
  adding file changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   546
  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
   547
  1 new obsolescence markers
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   548
  (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
   549
  $ hg rollback
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   550
  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
   551
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   552
  * @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
   553
  * @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
   554
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   555
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache 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
   556
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated served branch cache in *.???? seconds (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   557
  * @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
   558
  * @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
   559
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   560
  * @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
   561
  * @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
   562
  * @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
   563
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> rollback (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   564
  * @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
   565
  * @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
   566
  * @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
   567
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   568
  $ 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
   569
  $ 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
   570
           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
   571
             7 f69452c5b1af            0            7            7 000000000000
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   572
             5 45f8b879de92            0            6            6 b8a4206b0fc6
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   573
             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
   574
             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
   575
             3 2dc09a01254d            2            2            4 ce1937ca1278
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   576
             5 45f8b879de92            4            2            6 31fc49d36a59
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   577
             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
   578
             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
   579
             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
   580
             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
   581
             3 2dc09a01254d            3            1            4 26f996446ecb
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   582
             5 45f8b879de92            5            1            6 1a0c08180b65
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   583
             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
   584
             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
   585
             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
   586
             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
   587
  $ hg pull
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   588
  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
   589
  searching for changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   590
  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
   591
  adding changesets
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   592
  adding manifests
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   593
  adding file changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   594
  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
   595
  1 new obsolescence markers
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   596
  (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
   597
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   598
  * @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
   599
  * @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
   600
  * @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
   601
  * @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
   602
  * @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
   603
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull (glob)
2382
42092b9d6d25 dualsourcecache: log cache reset
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2381
diff changeset
   604
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-obscache cache reset (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   605
  * @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
   606
  * @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
   607
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   608
  * @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
   609
  * @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
   610
  * @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
   611
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   612
  $ 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
   613
  $ 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
   614
           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
   615
             8 4de32a90b66c            0            8            8 c7f1f7e9925b
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   616
             5 45f8b879de92            0            6            6 b8a4206b0fc6
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   617
             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
   618
             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
   619
             3 2dc09a01254d            2            2            4 ce1937ca1278
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   620
             5 45f8b879de92            4            2            6 31fc49d36a59
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   621
             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
   622
             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
   623
             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
   624
             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
   625
             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
   626
             3 2dc09a01254d            3            1            4 26f996446ecb
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   627
             5 45f8b879de92            5            1            6 1a0c08180b65
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   628
             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
   629
             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
   630
             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
   631
             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
   632
             7 f69452c5b1af            6            1            7 000000000000