tests/test-discovery-obshashrange.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 23 Oct 2019 01:11:13 +0200
branchmercurial-5.1
changeset 4905 f3e39a354378
parent 4903 86b3efd4303e
child 4968 d299af4da8d8
child 5279 35e769c9604f
permissions -rw-r--r--
branching: merge the stable branch with the mercurial-5.1 branch This revert all the test changes to match the expected output for mercurial 5.1.
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
4310
980565468003 tests: filter out uninteresting log events
Anton Shestakov <av6@dwimlabs.net>
parents: 4295
diff changeset
    12
  > [blackbox]
980565468003 tests: filter out uninteresting log events
Anton Shestakov <av6@dwimlabs.net>
parents: 4295
diff changeset
    13
  > track = backupbundle, branchcache, cache, command, commandalias,
980565468003 tests: filter out uninteresting log events
Anton Shestakov <av6@dwimlabs.net>
parents: 4295
diff changeset
    14
  >         commandfinish, debug, discovery, evoext-cache, evoext-obsdiscovery,
980565468003 tests: filter out uninteresting log events
Anton Shestakov <av6@dwimlabs.net>
parents: 4295
diff changeset
    15
  >         incoming, tagscache
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    16
  > [experimental]
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    17
  > obshashrange=1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    18
  > verbose-obsolescence-exchange=1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    19
  > [ui]
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    20
  > 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
    21
  > ssh=python "$RUNTESTDIR/dummyssh"
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    22
  > [alias]
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    23
  > debugobsolete=debugobsolete -d '0 0'
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    24
  > EOF
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
  $ getid() {
2425
51c62552fbbc tests: disable blackbox for 'getid'
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2422
diff changeset
    27
  >     hg log --hidden --template '{node}\n' --rev "$1" --config 'extensions.blackbox=!'
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    28
  > }
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    29
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    30
  $ hg init server
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    31
  $ 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
    32
  no changes found
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    33
  updating to branch default
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    34
  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
    35
  $ cd server
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    36
  $ hg debugbuilddag '.+7'
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    37
  $ hg blackbox
3013
945a0989e41b packaging: merge stable back into default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3000
diff changeset
    38
  * @0000000000000000000000000000000000000000 (*)> init server exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
    39
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    40
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    41
  * @0000000000000000000000000000000000000000 (*)> debugbuilddag .+7 (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    42
  * @0000000000000000000000000000000000000000 (*)> debugbuilddag ".+7" (glob) (windows !)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
    43
  * @0000000000000000000000000000000000000000 (*)> updated branch cache (served) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
    44
  * @0000000000000000000000000000000000000000 (*)> wrote branch cache (served) with 1 labels and 1 nodes (glob)
2569
427f6091250e obscache: plug on core 'update cache' method if available
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2559
diff changeset
    45
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (8r, 0o) (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    46
  * @0000000000000000000000000000000000000000 (*)> debugbuilddag .+7 exited 0 after *.?? seconds (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    47
  * @0000000000000000000000000000000000000000 (*)> debugbuilddag ".+7" exited 0 after *.?? seconds (glob) (windows !)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    48
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    49
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    50
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    51
  o  7 4de32a90b66c r7 tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    52
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    53
  o  6 f69452c5b1af r6
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    54
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    55
  o  5 c8d03c1b5e94 r5
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    56
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    57
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    58
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    59
  o  3 2dc09a01254d r3
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  2 01241442b3c2 r2
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  1 66f7d451a68b r1
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  0 1ea73414a91b r0
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
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    68
  $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid 'desc(r1)'`
2551
ecd47c63b6de obshashrange: add an option to protect from accidental activation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2530
diff changeset
    69
  $ hg debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb `getid 'desc(r2)'` --config experimental.obshashrange.max-revs=1
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    70
  $ hg debugobsolete cccccccccccccccccccccccccccccccccccccccc `getid 'desc(r4)'`
2459
5e6fc802bc8a obshashrange: add an option to disable local cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2425
diff changeset
    71
  $ hg debugobsolete dddddddddddddddddddddddddddddddddddddddd `getid 'desc(r5)'` --config experimental.obshashrange.warm-cache=0
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    72
  $ 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
    73
  $ hg debugobsolete
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
    74
  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
    75
  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
    76
  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
    77
  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
    78
  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
    79
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    80
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    81
  * @0000000000000000000000000000000000000000 (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    82
  * @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
    83
  * @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
    84
  * @0000000000000000000000000000000000000000 (*)> debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    85
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
    86
  * @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
    87
  * @0000000000000000000000000000000000000000 (*)> debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 66f7d451a68b85ed82ff5fcc254daf50c74144bd exited 0 after *.?? seconds (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    88
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 --config *experimental.obshashrange.max-revs=1* (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    89
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
    90
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    91
  * @0000000000000000000000000000000000000000 (*)> debugobsolete bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 01241442b3c2bf3211e593b549c655ea65b295e3 --config *experimental.obshashrange.max-revs=1* exited 0 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    92
  * @0000000000000000000000000000000000000000 (*)> debugobsolete cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    93
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
    94
  * @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
    95
  * @0000000000000000000000000000000000000000 (*)> debugobsolete cccccccccccccccccccccccccccccccccccccccc bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    96
  * @0000000000000000000000000000000000000000 (*)> debugobsolete dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 --config *experimental.obshashrange.warm-cache=0* (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
    97
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
    98
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
    99
  * @0000000000000000000000000000000000000000 (*)> debugobsolete dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 --config *experimental.obshashrange.warm-cache=0* exited 0 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   100
  * @0000000000000000000000000000000000000000 (*)> debugobsolete eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 4de32a90b66cd083ebf3c00b41277aa7abca51dd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   101
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   102
  * @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
   103
  * @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
   104
  * @0000000000000000000000000000000000000000 (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   105
  * @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
   106
  * @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
   107
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   108
  $ rm .hg/blackbox.log
2230
a202f3af890c debugobshashrange: add a --subranges option
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2229
diff changeset
   109
  $ hg debugobshashrange --subranges --rev tip
2228
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   110
           rev         node        index         size        depth      obshash
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   111
             7 4de32a90b66c            0            8            8 38d1e7ad86ea
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   112
             3 2dc09a01254d            0            4            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   113
             7 4de32a90b66c            4            4            8 38d1e7ad86ea
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   114
             3 2dc09a01254d            2            2            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   115
             7 4de32a90b66c            6            2            8 033544c939f0
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   116
             1 66f7d451a68b            0            2            2 17ff8dd63509
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   117
             5 c8d03c1b5e94            4            2            6 57f6cf3757a2
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   118
             2 01241442b3c2            2            1            3 1ed3c61fb39a
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   119
             0 1ea73414a91b            0            1            1 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   120
             3 2dc09a01254d            3            1            4 000000000000
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   121
             7 4de32a90b66c            7            1            8 033544c939f0
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   122
             1 66f7d451a68b            1            1            2 17ff8dd63509
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   123
             4 bebd167eb94d            4            1            5 bbe4d7fe27a8
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   124
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
3b18440cca74 debugstablerange: improve output spacing
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 2084
diff changeset
   125
             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
   126
  $ cd .. 
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   127
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   128
testing simple pull
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   129
===================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   130
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   131
  $ cd client
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   132
  $ hg pull --rev 4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   133
  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
   134
  adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   135
  adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   136
  adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   137
  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
   138
  3 new obsolescence markers
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3019
diff changeset
   139
  new changesets 1ea73414a91b:bebd167eb94d
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   140
  (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
   141
  $ hg -R ../server blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   142
  * @0000000000000000000000000000000000000000 (*)> debugobshashrange --subranges --rev tip (glob)
3369
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   143
  * @0000000000000000000000000000000000000000 (*)> strip detected, evo-ext-stablerange-mergepoint cache reset (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   144
  * @0000000000000000000000000000000000000000 (*)> strip detected, evo-ext-depthcache cache reset (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   145
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-depthcache in *.???? seconds (8r) (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   146
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (8r) (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   147
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (8r, 5o) (glob)
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   148
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> strip detected, evo-ext-stablesort cache reset (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   149
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> updated evo-ext-stablesort in *.???? seconds (8r) (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   150
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> strip detected, evo-ext-firstmerge cache reset (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   151
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> updated evo-ext-firstmerge in *.???? seconds (8r) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   152
  * @0000000000000000000000000000000000000000 (*)> debugobshashrange --subranges --rev tip exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   153
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   154
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   155
  * @0000000000000000000000000000000000000000 (*)> -R ../server blackbox (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   156
  $ 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
   157
  $ 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
   158
  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
   159
  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
   160
  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
   161
  $ rm ../server/.hg/blackbox.log
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   162
  $ hg blackbox
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   163
  * @0000000000000000000000000000000000000000 (*)> clone *ssh://user@dummy/server* client 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
   164
  * @0000000000000000000000000000000000000000 (*)> pull --rev 4 (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   165
  * @0000000000000000000000000000000000000000 (*)> updated branch cache (base) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   166
  * @0000000000000000000000000000000000000000 (*)> wrote branch cache (base) with 1 labels and 1 nodes (glob)
2569
427f6091250e obscache: plug on core 'update cache' method if available
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2559
diff changeset
   167
  * @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
   168
  * @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
   169
  * @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
   170
  * @0000000000000000000000000000000000000000 (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   171
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   172
  $ hg debugobsolete | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   173
  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
   174
  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
   175
  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
   176
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   177
testing simple push
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   178
===================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   179
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   180
  $ hg up
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   181
  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
   182
  $ echo foo > foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   183
  $ hg add foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   184
  $ hg commit -m foo
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   185
  $ hg debugobsolete ffffffffffffffffffffffffffffffffffffffff `getid '.'`
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   186
  $ hg push -f --debug
3875
a93e81733549 test: fix possible output change from 4.7
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3748
diff changeset
   187
  could not import hgext.hgext3rd.evolve (No module named hgext3rd.evolve): trying hgext3rd.hgext3rd.evolve (?)
a93e81733549 test: fix possible output change from 4.7
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3748
diff changeset
   188
  could not import hgext3rd.hgext3rd.evolve (No module named hgext3rd.evolve): trying hgext3rd.evolve (?)
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   189
  pushing to ssh://user@dummy/server
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   190
  running python "*/dummyssh" *user@dummy* *hg -R server serve --stdio* (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   191
  sending hello command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   192
  sending between command
3536
8432bc989053 test: fix output after rev-branch-cache has been merged
Boris Feld <boris.feld@octobus.net>
parents: 3485
diff changeset
   193
  remote: * (glob)
4643
77f3699e711e obsdiscovery: drop `obshash` discovery protocol (issue6136)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4479
diff changeset
   194
  remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   195
  remote: 1
3664
1de6ba0ac6d7 test: apply output change from protocaps
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3596
diff changeset
   196
  sending protocaps command
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   197
  query 1; heads
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   198
  sending batch command
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   199
  searching for changes
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   200
  taking quick initial sample
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   201
  query 2; still undecided: 5, sample size is: 5
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   202
  sending known command
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   203
  2 total queries in *.????s (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   204
  preparing listkeys for "phases"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   205
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   206
  received listkey for "phases": 58 bytes
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   207
  preparing listkeys for "namespaces"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   208
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   209
  received listkey for "namespaces": 40 bytes
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   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
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   212
  query 0; add more sample (target 100, current 1)
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   213
  query 0; sample size is 9, largest range 5
3346
f4e28b781143 stablerange: use mergepoint based algorithm for the official stable range
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3338
diff changeset
   214
  sending evoext_obshashrange_v1 command
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   215
  obsdiscovery, 0/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   216
  OBSEXC: computing markers relevant to 1 nodes
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   217
  checking for updated bookmarks
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   218
  preparing listkeys for "bookmarks"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   219
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   220
  received listkey for "bookmarks": 0 bytes
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   221
  1 changesets found
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   222
  list of changesets:
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   223
  45f8b879de922f6a6e620ba04205730335b6fc7e
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   224
  sending unbundle command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   225
  bundle2-output-bundle: "HG20", 4 parts total
3536
8432bc989053 test: fix output after rev-branch-cache has been merged
Boris Feld <boris.feld@octobus.net>
parents: 3485
diff changeset
   226
  bundle2-output-part: "replycaps" * bytes payload (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   227
  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
3076
87e349f617f9 test: adapt to change from 537de0b14030
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3075
diff changeset
   228
  bundle2-output-part: "phase-heads" 24 bytes payload
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   229
  bundle2-output-part: "obsmarkers" streamed payload
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   230
  remote: adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   231
  remote: adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   232
  remote: adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   233
  remote: added 1 changesets with 1 changes to 1 files (+1 heads)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   234
  bundle2-input-bundle: no-transaction
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   235
  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   236
  bundle2-input-part: "reply:obsmarkers" (params: 0 advisory) supported
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4903
diff changeset
   237
  bundle2-input-bundle: 1 parts total
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   238
  preparing listkeys for "phases"
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   239
  sending listkeys command
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   240
  received listkey for "phases": 58 bytes
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4903
diff changeset
   241
  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
   242
  $ hg -R ../server blackbox
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   243
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio (glob)
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   244
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> updated evo-ext-firstmerge in *.???? seconds (1r) (glob)
3952
a7794f5abacd discovery: make sure repository wrapping happens in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
   245
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-depthcache in *.???? seconds (1r) (glob)
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   246
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> updated evo-ext-stablesort in *.???? seconds (1r) (glob)
3952
a7794f5abacd discovery: make sure repository wrapping happens in the right order
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
   247
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (1r) (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   248
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   249
  * @0000000000000000000000000000000000000000 (*)> obscache is out of date, falling back to slower obsstore version (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   250
  * @0000000000000000000000000000000000000000 (*)> updated branch cache (served) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   251
  * @0000000000000000000000000000000000000000 (*)> wrote branch cache (served) with 1 labels and 2 nodes (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   252
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obscache in *.???? seconds (1r, 1o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   253
  * @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
   254
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   255
  * @0000000000000000000000000000000000000000 (*)> -R ../server blackbox (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   256
  $ 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
   257
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   258
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
   259
=====================================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   260
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   261
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   262
  @  5 45f8b879de92 foo tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   263
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   264
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   265
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   266
  o  3 2dc09a01254d r3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   267
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   268
  o  2 01241442b3c2 r2
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   269
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   270
  o  1 66f7d451a68b r1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   271
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   272
  o  0 1ea73414a91b r0
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   273
  
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   274
  $ 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
   275
  $ 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
   276
  $ hg push
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   277
  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
   278
  searching for changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   279
  OBSEXC: computing relevant nodes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   280
  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
   281
  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
   282
  no changes found
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   283
  remote: 2 new obsolescence markers
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   284
  [1]
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   285
  $ hg -R ../server blackbox
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   286
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio (glob)
3357
6020f2c9dbd9 obshashrange: add a progressbar to upgrade
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3354
diff changeset
   287
  * @0000000000000000000000000000000000000000 (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (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
   288
  * @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
   289
  * @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
   290
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   291
  * @0000000000000000000000000000000000000000 (*)> -R ../server blackbox (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   292
  $ 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
   293
  $ 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
   294
  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
   295
  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
   296
  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
   297
  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
   298
  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
   299
  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
   300
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   301
  * @0000000000000000000000000000000000000000 (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   302
  * @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
   303
  * @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
   304
  * @0000000000000000000000000000000000000000 (*)> up (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   305
  * @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
   306
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> add foo (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   307
  * @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
   308
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> commit -m foo (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   309
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obscache is out of date, falling back to slower obsstore version (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   310
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated branch cache (served) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   311
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> wrote branch cache (served) with 1 labels and 1 nodes (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   312
  * @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
   313
  * @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
   314
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   315
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
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 ffffffffffffffffffffffffffffffffffffffff 45f8b879de922f6a6e620ba04205730335b6fc7e exited 0 after *.?? seconds (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   318
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f --debug (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   319
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> running python "*/dummyssh" *user@dummy* *hg -R server serve --stdio* (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   320
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending hello command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   321
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending between command (glob)
3536
8432bc989053 test: fix output after rev-branch-cache has been merged
Boris Feld <boris.feld@octobus.net>
parents: 3485
diff changeset
   322
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: * (glob)
4643
77f3699e711e obsdiscovery: drop `obshash` discovery protocol (issue6136)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4479
diff changeset
   323
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   324
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: 1 (glob)
3664
1de6ba0ac6d7 test: apply output change from protocaps
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3596
diff changeset
   325
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending protocaps command (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   326
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 1; heads (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   327
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending batch command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   328
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> taking quick initial sample (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   329
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 2; still undecided: 5, sample size is: 5 (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   330
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending known command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   331
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 2 total queries in *.????s (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   332
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> found 1 common and 1 unknown server heads, 2 roundtrips in *.????s (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   333
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> preparing listkeys for "phases" (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   334
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   335
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "phases": 58 bytes (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   336
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> preparing listkeys for "namespaces" (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   337
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   338
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "namespaces": 40 bytes (glob)
3369
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   339
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-stablerange-mergepoint cache reset (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   340
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-depthcache cache reset (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   341
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-depthcache in *.???? seconds (6r) (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   342
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (6r) (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   343
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (6r, 4o) (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   344
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 0; add more sample (target 100, current 1) (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   345
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 0; sample size is 9, largest range 5 (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   346
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending evoext_obshashrange_v1 command (glob)
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   347
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-stablesort cache reset (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   348
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablesort in *.???? seconds (6r) (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   349
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-firstmerge cache reset (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   350
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-firstmerge in *.???? seconds (6r) (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   351
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 0/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   352
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 0/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   353
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> checking for updated bookmarks (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   354
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> preparing listkeys for "bookmarks" (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   355
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   356
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "bookmarks": 0 bytes (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   357
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> list of changesets: (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   358
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 45f8b879de922f6a6e620ba04205730335b6fc7e (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   359
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending unbundle command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   360
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-output-bundle: "HG20", 4 parts total (glob)
3536
8432bc989053 test: fix output after rev-branch-cache has been merged
Boris Feld <boris.feld@octobus.net>
parents: 3485
diff changeset
   361
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-output-part: "replycaps" * bytes payload (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   362
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   363
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-output-part: "phase-heads" 24 bytes payload (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   364
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-output-part: "obsmarkers" streamed payload (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   365
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-input-bundle: no-transaction (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   366
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   367
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-input-part: "reply:obsmarkers" (params: 0 advisory) supported (glob)
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4903
diff changeset
   368
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> bundle2-input-bundle: 1 parts total (glob)
3433
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   369
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> preparing listkeys for "phases" (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   370
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob)
a53a49e80764 test: update output for more verbose blackbox
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3429
diff changeset
   371
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "phases": 58 bytes (glob)
2409
2b563a725cdc obsdiscovery: add more debug output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2408
diff changeset
   372
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f --debug exited 0 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   373
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   374
  * @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
   375
  * @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
   376
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 111111111111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   377
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   378
  * @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
   379
  * @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
   380
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete 22222222222222222bbbbbbbbbbbbb2222222222 2dc09a01254db841290af0538aa52f6f52c776e3 (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   381
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   382
  * @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
   383
  * @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
   384
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push (glob)
3369
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   385
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   386
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 2o) (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   387
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 2/6 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   388
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push exited 1 after *.?? seconds (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   389
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   390
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   391
  $ hg debugobsolete | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   392
  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
   393
  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
   394
  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
   395
  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
   396
  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
   397
  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
   398
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   399
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
   400
=====================================
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   401
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   402
  $ hg log -G
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   403
  @  5 45f8b879de92 foo tip
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   404
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   405
  o  4 bebd167eb94d r4
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   406
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   407
  o  3 2dc09a01254d r3
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   408
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   409
  o  2 01241442b3c2 r2
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   410
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   411
  o  1 66f7d451a68b r1
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   412
  |
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   413
  o  0 1ea73414a91b r0
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   414
  
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   415
  $ 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
   416
  $ 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
   417
  $ hg pull -r 6
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   418
  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
   419
  searching for changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   420
  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
   421
  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
   422
  adding changesets
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   423
  adding manifests
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   424
  adding file changes
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   425
  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
   426
  3 new obsolescence markers
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3019
diff changeset
   427
  new changesets c8d03c1b5e94:f69452c5b1af
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   428
  (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
   429
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   430
  $ hg -R ../server blackbox
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   431
  * @0000000000000000000000000000000000000000 (*)> -R ../server/ debugobsolete --rev '::tip' (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   432
  * @0000000000000000000000000000000000000000 (*)> -R ../server/ debugobsolete --rev ::tip (glob) (windows !)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   433
  * @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
   434
  * @0000000000000000000000000000000000000000 (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   435
  * @0000000000000000000000000000000000000000 (*)> -R ../server/ debugobsolete --rev '::tip' exited 0 after *.?? seconds (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   436
  * @0000000000000000000000000000000000000000 (*)> -R ../server/ debugobsolete --rev ::tip exited 0 after *.?? seconds (glob) (windows !)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   437
  * @0000000000000000000000000000000000000000 (*)> -R ../server debugobsolete aaaaaaa11111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   438
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   439
  * @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
   440
  * @0000000000000000000000000000000000000000 (*)> -R ../server debugobsolete aaaaaaa11111111aaaaaaaaa1111111111111111 66f7d451a68b85ed82ff5fcc254daf50c74144bd exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   441
  * @0000000000000000000000000000000000000000 (*)> -R ../server debugobsolete bbbbbbb2222222222bbbbbbbbbbbbb2222222222 bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   442
  * @0000000000000000000000000000000000000000 (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   443
  * @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
   444
  * @0000000000000000000000000000000000000000 (*)> -R ../server debugobsolete bbbbbbb2222222222bbbbbbbbbbbbb2222222222 bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   445
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio (glob)
4023
f59b262400fb sqlite: fast path when nothing to save
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3966
diff changeset
   446
  1970/01/01 00:00:00 * @0000000000000000000000000000000000000000 (*)> obshashcache clean - new markers affect 3 changeset and cached ranges (glob)
f59b262400fb sqlite: fast path when nothing to save
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3966
diff changeset
   447
  * @0000000000000000000000000000000000000000 (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 4o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   448
  * @0000000000000000000000000000000000000000 (*)> -R server serve --stdio exited 0 after *.?? seconds (glob)
3209
a05e46239146 test: update test-discovery-obshashrange.t
Boris Feld <boris.feld@octobus.net>
parents: 3149
diff changeset
   449
  * @0000000000000000000000000000000000000000 (*)> -R ../server blackbox (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   450
  $ 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
   451
  $ 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
   452
  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
   453
  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
   454
  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
   455
  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
   456
  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
   457
  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
   458
  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
   459
  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
   460
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   461
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   462
  * @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
   463
  * @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
   464
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   465
  * @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
   466
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r 6 (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   467
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 2/6 mismatch - 1 obshashrange queries in *.???? seconds (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   468
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated branch cache (served) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   469
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> wrote branch cache (served) with 1 labels and 2 nodes (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   470
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (2r, 3o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   471
  * @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
   472
  * @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
   473
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   474
  $ rm .hg/blackbox.log
2084
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   475
  $ hg debugobsolete --rev '::6' | sort
b1f029dcf573 discovery: implement some range based discovery
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff changeset
   476
  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
   477
  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
   478
  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
   479
  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
   480
  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
   481
  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
   482
  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
   483
  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
   484
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   485
Test cache behavior
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   486
===================
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   487
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   488
Adding markers affecting already used range:
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   489
--------------------------------------------
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   490
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   491
  $ hg debugobshashrange --subranges --rev 'heads(all())'
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   492
           rev         node        index         size        depth      obshash
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   493
             7 f69452c5b1af            0            7            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   494
             5 45f8b879de92            0            6            6 1643971dbe2d
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   495
             3 2dc09a01254d            0            4            4 6be48f31976a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   496
             7 f69452c5b1af            4            3            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   497
             3 2dc09a01254d            2            2            4 9522069ae085
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   498
             5 45f8b879de92            4            2            6 9c26c72819c0
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   499
             1 66f7d451a68b            0            2            2 853c77a32154
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   500
             6 c8d03c1b5e94            4            2            6 ec8a3e92c525
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   501
             2 01241442b3c2            2            1            3 1ed3c61fb39a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   502
             0 1ea73414a91b            0            1            1 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   503
             3 2dc09a01254d            3            1            4 8a2acf8e1cde
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   504
             5 45f8b879de92            5            1            6 1a0c08180b65
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   505
             1 66f7d451a68b            1            1            2 853c77a32154
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   506
             4 bebd167eb94d            4            1            5 20a2cc572e4b
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   507
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   508
             7 f69452c5b1af            6            1            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   509
  $ hg -R ../server debugobsolete aaaa333333333aaaaa333a3a3a3a3a3a3a3a3a3a `getid 'desc(r1)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   510
  $ hg -R ../server debugobsolete bb4b4b4b4b4b4b4b44b4b4b4b4b4b4b4b4b4b4b4 `getid 'desc(r3)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   511
  $ hg pull -r `getid 'desc(r6)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   512
  pulling from ssh://user@dummy/server
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   513
  no changes found
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   514
  OBSEXC: looking for common markers in 7 nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   515
  OBSEXC: request obsmarkers for 2 common nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   516
  2 new obsolescence markers
2386
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   517
  $ 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
   518
           rev         node        index         size        depth      obshash
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   519
             3 2dc09a01254d            0            4            4 8932bf980bb4
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   520
             3 2dc09a01254d            2            2            4 ce1937ca1278
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   521
             1 66f7d451a68b            0            2            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   522
             2 01241442b3c2            2            1            3 1ed3c61fb39a
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   523
             0 1ea73414a91b            0            1            1 000000000000
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   524
             3 2dc09a01254d            3            1            4 26f996446ecb
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   525
             1 66f7d451a68b            1            1            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   526
  $ hg debugobshashrange --subranges --rev 'desc("r3")'
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   527
           rev         node        index         size        depth      obshash
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   528
             3 2dc09a01254d            0            4            4 8932bf980bb4
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   529
             3 2dc09a01254d            2            2            4 ce1937ca1278
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   530
             1 66f7d451a68b            0            2            2 327c7dd73d29
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   531
             2 01241442b3c2            2            1            3 1ed3c61fb39a
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   532
             0 1ea73414a91b            0            1            1 000000000000
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   533
             3 2dc09a01254d            3            1            4 26f996446ecb
47ee05940d7d tests: small test update
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2385
diff changeset
   534
             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
   535
  $ hg blackbox
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   536
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   537
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev ::6 (glob) (windows !)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   538
  * @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
   539
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   540
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' exited 0 after *.?? seconds (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   541
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev ::6 exited 0 after *.?? seconds (glob) (windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   542
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   543
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" (glob) (windows !)
3963
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   544
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-depthcache in *.???? seconds (2r) (glob)
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   545
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (2r) (glob)
3369
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   546
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   547
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (2r, 3o) (glob)
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   548
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablesort in *.???? seconds (2r) (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
   549
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-firstmerge in *.???? seconds (2r) (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   550
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" exited 0 after *.?? seconds (glob) (windows !)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   551
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob) (no-windows !)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   552
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   553
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 2/7 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2385
fab59e2cb05f dualsourcecache: fix obskey return by _checkkey
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2382
diff changeset
   554
  * @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
   555
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 exited 0 after *.?? seconds (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   556
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "desc(\"r3\")" (glob) (windows !)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   557
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'desc("r3")' (glob) (no-windows !)
3369
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   558
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
   559
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 2o) (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   560
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "desc(\"r3\")" exited 0 after *.?? seconds (glob) (windows !)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   561
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'desc("r3")' exited 0 after *.?? seconds (glob) (no-windows !)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   562
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   563
  $ rm .hg/blackbox.log
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   564
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   565
Adding markers affecting existing changeset
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   566
-------------------------------------------
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   567
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   568
Simple prune marker
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   569
3957
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   570
  $ hg debugobshashrange -R ../server --subranges --rev 'heads(all())'
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   571
           rev         node        index         size        depth      obshash
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   572
             7 4de32a90b66c            0            8            8 3e1f959425c6
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   573
             8 45f8b879de92            0            6            6 b405cb0bdc2b
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   574
             3 2dc09a01254d            0            4            4 8932bf980bb4
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   575
             7 4de32a90b66c            4            4            8 5a7179ca8e73
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   576
             3 2dc09a01254d            2            2            4 ce1937ca1278
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   577
             8 45f8b879de92            4            2            6 9c26c72819c0
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   578
             7 4de32a90b66c            6            2            8 033544c939f0
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   579
             1 66f7d451a68b            0            2            2 327c7dd73d29
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   580
             5 c8d03c1b5e94            4            2            6 ec8a3e92c525
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   581
             2 01241442b3c2            2            1            3 1ed3c61fb39a
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   582
             0 1ea73414a91b            0            1            1 000000000000
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   583
             3 2dc09a01254d            3            1            4 26f996446ecb
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   584
             8 45f8b879de92            5            1            6 1a0c08180b65
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   585
             7 4de32a90b66c            7            1            8 033544c939f0
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   586
             1 66f7d451a68b            1            1            2 327c7dd73d29
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   587
             4 bebd167eb94d            4            1            5 20a2cc572e4b
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   588
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   589
             6 f69452c5b1af            6            1            7 000000000000
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   590
  $ hg -R ../server debugobsolete --record-parents `getid 'desc(foo)'`
3957
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   591
  $ hg debugobshashrange -R ../server --subranges --rev 'heads(all())'
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   592
           rev         node        index         size        depth      obshash
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   593
             7 4de32a90b66c            0            8            8 c7f1f7e9925b
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   594
             8 45f8b879de92            0            6            6 7c49a958a9ac
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   595
             3 2dc09a01254d            0            4            4 8932bf980bb4
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   596
             7 4de32a90b66c            4            4            8 c681c3e58c27
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   597
             3 2dc09a01254d            2            2            4 ce1937ca1278
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   598
             8 45f8b879de92            4            2            6 c6795525c540
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   599
             7 4de32a90b66c            6            2            8 033544c939f0
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   600
             1 66f7d451a68b            0            2            2 327c7dd73d29
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   601
             5 c8d03c1b5e94            4            2            6 89755fd39e6d
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   602
             2 01241442b3c2            2            1            3 1ed3c61fb39a
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   603
             0 1ea73414a91b            0            1            1 000000000000
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   604
             3 2dc09a01254d            3            1            4 26f996446ecb
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   605
             8 45f8b879de92            5            1            6 796507769034
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   606
             7 4de32a90b66c            7            1            8 033544c939f0
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   607
             1 66f7d451a68b            1            1            2 327c7dd73d29
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   608
             4 bebd167eb94d            4            1            5 b21465ecb790
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   609
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
90c17c086eba obshashrange: add more validation output to tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3955
diff changeset
   610
             6 f69452c5b1af            6            1            7 000000000000
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   611
  $ hg pull -r `getid 'desc(r4)'`
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   612
  pulling from ssh://user@dummy/server
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   613
  no changes found
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   614
  OBSEXC: looking for common markers in 5 nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   615
  OBSEXC: request obsmarkers for 1 common nodes
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   616
  1 new obsolescence markers
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   617
  $ hg blackbox
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   618
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
2408
0af6bb0bfdc3 discovery: log information about obshashrange
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2402
diff changeset
   619
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 1/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
2380
694494619795 cache: track time spend updating various cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2379
diff changeset
   620
  * @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
   621
  * @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
   622
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   623
  $ rm .hg/blackbox.log
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   624
  $ hg debugobshashrange --subranges --rev 'heads(all())'
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   625
           rev         node        index         size        depth      obshash
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   626
             7 f69452c5b1af            0            7            7 000000000000
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   627
             5 45f8b879de92            0            6            6 7c49a958a9ac
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   628
             3 2dc09a01254d            0            4            4 8932bf980bb4
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   629
             7 f69452c5b1af            4            3            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   630
             3 2dc09a01254d            2            2            4 ce1937ca1278
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   631
             5 45f8b879de92            4            2            6 c6795525c540
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   632
             1 66f7d451a68b            0            2            2 327c7dd73d29
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   633
             6 c8d03c1b5e94            4            2            6 89755fd39e6d
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   634
             2 01241442b3c2            2            1            3 1ed3c61fb39a
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   635
             0 1ea73414a91b            0            1            1 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   636
             3 2dc09a01254d            3            1            4 26f996446ecb
2525
5adb8bdb935e compatibility: backport mercurial 176d1a0ce385
Boris Feld <boris.feld@octobus.net>
parents: 2461
diff changeset
   637
             5 45f8b879de92            5            1            6 796507769034
2377
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   638
             1 66f7d451a68b            1            1            2 327c7dd73d29
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   639
             4 bebd167eb94d            4            1            5 b21465ecb790
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   640
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   641
             7 f69452c5b1af            6            1            7 000000000000
413fe685bfd0 obshashrange: extend tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2230
diff changeset
   642
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   643
Stacked prune markers
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   644
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   645
  $ hg -R ../server --hidden up 'desc(foo)'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   646
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   647
  $ echo a > ../server/xhf
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   648
  $ hg -R ../server commit -Am "chain_prune"
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   649
  adding xhf
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   650
  $ hg -R ../server update null
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   651
  0 files updated, 0 files merged, 2 files removed, 0 files unresolved
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   652
  $ hg debugobshashrange -R ../server --subranges --rev 'heads(all())'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   653
           rev         node        index         size        depth      obshash
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   654
             7 4de32a90b66c            0            8            8 c7f1f7e9925b
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   655
             9 09b2e73c5f20            0            7            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   656
             3 2dc09a01254d            0            4            4 8932bf980bb4
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   657
             7 4de32a90b66c            4            4            8 c681c3e58c27
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   658
             9 09b2e73c5f20            4            3            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   659
             3 2dc09a01254d            2            2            4 ce1937ca1278
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   660
             8 45f8b879de92            4            2            6 c6795525c540
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   661
             7 4de32a90b66c            6            2            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   662
             1 66f7d451a68b            0            2            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   663
             5 c8d03c1b5e94            4            2            6 89755fd39e6d
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   664
             2 01241442b3c2            2            1            3 1ed3c61fb39a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   665
             9 09b2e73c5f20            6            1            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   666
             0 1ea73414a91b            0            1            1 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   667
             3 2dc09a01254d            3            1            4 26f996446ecb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   668
             8 45f8b879de92            5            1            6 796507769034
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   669
             7 4de32a90b66c            7            1            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   670
             1 66f7d451a68b            1            1            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   671
             4 bebd167eb94d            4            1            5 b21465ecb790
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   672
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   673
             6 f69452c5b1af            6            1            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   674
  $ hg -R ../server debugobsolete --record-parents `(cd ../server/; getid 'desc("chain_prune")')`
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   675
  obsoleted 1 changesets
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   676
  $ hg debugobshashrange -R ../server --subranges --rev 'heads(all())'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   677
           rev         node        index         size        depth      obshash
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   678
             7 4de32a90b66c            0            8            8 f966d46c2069
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   679
             8 45f8b879de92            0            6            6 c9ee11811914
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   680
             3 2dc09a01254d            0            4            4 8932bf980bb4
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   681
             7 4de32a90b66c            4            4            8 542cc6dd4c67
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   682
             3 2dc09a01254d            2            2            4 ce1937ca1278
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   683
             8 45f8b879de92            4            2            6 b5d53b723b2e
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   684
             7 4de32a90b66c            6            2            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   685
             1 66f7d451a68b            0            2            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   686
             5 c8d03c1b5e94            4            2            6 b0302c7614fb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   687
             2 01241442b3c2            2            1            3 1ed3c61fb39a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   688
             0 1ea73414a91b            0            1            1 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   689
             3 2dc09a01254d            3            1            4 26f996446ecb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   690
             8 45f8b879de92            5            1            6 78e8071e893a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   691
             7 4de32a90b66c            7            1            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   692
             1 66f7d451a68b            1            1            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   693
             4 bebd167eb94d            4            1            5 9b4a136d1137
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   694
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   695
             6 f69452c5b1af            6            1            7 000000000000
3963
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   696
  $ hg debugobshashrange -R ../server --subranges --rev 'heads(all())' --hidden
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   697
           rev         node        index         size        depth      obshash
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   698
             7 4de32a90b66c            0            8            8 f966d46c2069
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   699
             9 09b2e73c5f20            0            7            7 be139f5b4d01
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   700
             3 2dc09a01254d            0            4            4 8932bf980bb4
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   701
             7 4de32a90b66c            4            4            8 542cc6dd4c67
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   702
             9 09b2e73c5f20            4            3            7 7a88eb008295
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   703
             3 2dc09a01254d            2            2            4 ce1937ca1278
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   704
             8 45f8b879de92            4            2            6 b5d53b723b2e
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   705
             7 4de32a90b66c            6            2            8 033544c939f0
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   706
             1 66f7d451a68b            0            2            2 327c7dd73d29
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   707
             5 c8d03c1b5e94            4            2            6 b0302c7614fb
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   708
             2 01241442b3c2            2            1            3 1ed3c61fb39a
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   709
             9 09b2e73c5f20            6            1            7 3339d42d829e
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   710
             0 1ea73414a91b            0            1            1 000000000000
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   711
             3 2dc09a01254d            3            1            4 26f996446ecb
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   712
             8 45f8b879de92            5            1            6 78e8071e893a
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   713
             7 4de32a90b66c            7            1            8 033544c939f0
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   714
             1 66f7d451a68b            1            1            2 327c7dd73d29
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   715
             4 bebd167eb94d            4            1            5 9b4a136d1137
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   716
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   717
             6 f69452c5b1af            6            1            7 000000000000
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   718
  $ hg pull -r `getid 'desc(r4)'`
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   719
  pulling from ssh://user@dummy/server
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   720
  no changes found
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   721
  OBSEXC: looking for common markers in 5 nodes
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   722
  OBSEXC: request obsmarkers for 1 common nodes
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   723
  1 new obsolescence markers
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   724
  $ hg blackbox
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   725
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" (glob) (windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   726
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob) (no-windows !)
3963
d2e9a03fb3f7 obshashrange: always save stable range cache alongside the obshashrange one
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3959
diff changeset
   727
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   728
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   729
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" exited 0 after *.?? seconds (glob) (windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   730
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob) (no-windows !)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   731
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   732
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 1/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   733
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   734
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   735
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   736
  $ rm .hg/blackbox.log
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   737
  $ hg debugobshashrange --subranges --rev 'heads(all())'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   738
           rev         node        index         size        depth      obshash
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   739
             7 f69452c5b1af            0            7            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   740
             5 45f8b879de92            0            6            6 c9ee11811914
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   741
             3 2dc09a01254d            0            4            4 8932bf980bb4
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   742
             7 f69452c5b1af            4            3            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   743
             3 2dc09a01254d            2            2            4 ce1937ca1278
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   744
             5 45f8b879de92            4            2            6 b5d53b723b2e
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   745
             1 66f7d451a68b            0            2            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   746
             6 c8d03c1b5e94            4            2            6 b0302c7614fb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   747
             2 01241442b3c2            2            1            3 1ed3c61fb39a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   748
             0 1ea73414a91b            0            1            1 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   749
             3 2dc09a01254d            3            1            4 26f996446ecb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   750
             5 45f8b879de92            5            1            6 78e8071e893a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   751
             1 66f7d451a68b            1            1            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   752
             4 bebd167eb94d            4            1            5 9b4a136d1137
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   753
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   754
             7 f69452c5b1af            6            1            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   755
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   756
New marker prefixed to another one
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   757
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   758
  $ hg -R ../server debugobsolete aaaa4444444444444444aaaaaaaaaaaaaaaaaaaa `(cd ../server/; getid 'desc("chain_prune")')`
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   759
  $ hg debugobshashrange -R ../server --subranges --rev 'heads(all())'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   760
           rev         node        index         size        depth      obshash
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   761
             7 4de32a90b66c            0            8            8 0ffc0013bda0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   762
             8 45f8b879de92            0            6            6 0ffa86a0054f
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   763
             3 2dc09a01254d            0            4            4 8932bf980bb4
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   764
             7 4de32a90b66c            4            4            8 207792ae6aeb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   765
             3 2dc09a01254d            2            2            4 ce1937ca1278
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   766
             8 45f8b879de92            4            2            6 a3de812028fa
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   767
             7 4de32a90b66c            6            2            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   768
             1 66f7d451a68b            0            2            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   769
             5 c8d03c1b5e94            4            2            6 e94b0f268773
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   770
             2 01241442b3c2            2            1            3 1ed3c61fb39a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   771
             0 1ea73414a91b            0            1            1 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   772
             3 2dc09a01254d            3            1            4 26f996446ecb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   773
             8 45f8b879de92            5            1            6 e765ea1567b3
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   774
             7 4de32a90b66c            7            1            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   775
             1 66f7d451a68b            1            1            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   776
             4 bebd167eb94d            4            1            5 8e945c34a0fd
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   777
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   778
             6 f69452c5b1af            6            1            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   779
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   780
  $ hg pull -r `getid 'desc(r4)'`
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   781
  pulling from ssh://user@dummy/server
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   782
  no changes found
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   783
  OBSEXC: looking for common markers in 5 nodes
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   784
  OBSEXC: request obsmarkers for 1 common nodes
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   785
  1 new obsolescence markers
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   786
  $ hg blackbox
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   787
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" (glob) (windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   788
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob) (no-windows !)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   789
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   790
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   791
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" exited 0 after *.?? seconds (glob) (windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   792
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob) (no-windows !)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   793
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   794
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 1/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   795
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   796
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   797
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   798
  $ rm .hg/blackbox.log
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   799
  $ hg debugobshashrange --subranges --rev 'heads(all())'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   800
           rev         node        index         size        depth      obshash
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   801
             7 f69452c5b1af            0            7            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   802
             5 45f8b879de92            0            6            6 0ffa86a0054f
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   803
             3 2dc09a01254d            0            4            4 8932bf980bb4
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   804
             7 f69452c5b1af            4            3            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   805
             3 2dc09a01254d            2            2            4 ce1937ca1278
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   806
             5 45f8b879de92            4            2            6 a3de812028fa
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   807
             1 66f7d451a68b            0            2            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   808
             6 c8d03c1b5e94            4            2            6 e94b0f268773
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   809
             2 01241442b3c2            2            1            3 1ed3c61fb39a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   810
             0 1ea73414a91b            0            1            1 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   811
             3 2dc09a01254d            3            1            4 26f996446ecb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   812
             5 45f8b879de92            5            1            6 e765ea1567b3
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   813
             1 66f7d451a68b            1            1            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   814
             4 bebd167eb94d            4            1            5 8e945c34a0fd
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   815
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   816
             7 f69452c5b1af            6            1            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   817
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   818
New prune marker prefixed to another one
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   819
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   820
  $ hg -R ../server debugobsolete aaaa4444444444444444aaaaaaaaaaaaaaaaaaaa
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   821
  $ hg debugobshashrange -R ../server --subranges --rev 'heads(all())'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   822
           rev         node        index         size        depth      obshash
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   823
             7 4de32a90b66c            0            8            8 87b2a11bd884
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   824
             8 45f8b879de92            0            6            6 fdbbaec33b20
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   825
             3 2dc09a01254d            0            4            4 8932bf980bb4
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   826
             7 4de32a90b66c            4            4            8 20745010e1d8
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   827
             3 2dc09a01254d            2            2            4 ce1937ca1278
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   828
             8 45f8b879de92            4            2            6 f45551c1cf4f
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   829
             7 4de32a90b66c            6            2            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   830
             1 66f7d451a68b            0            2            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   831
             5 c8d03c1b5e94            4            2            6 149be75f95c0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   832
             2 01241442b3c2            2            1            3 1ed3c61fb39a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   833
             0 1ea73414a91b            0            1            1 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   834
             3 2dc09a01254d            3            1            4 26f996446ecb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   835
             8 45f8b879de92            5            1            6 51df11ea9843
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   836
             7 4de32a90b66c            7            1            8 033544c939f0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   837
             1 66f7d451a68b            1            1            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   838
             4 bebd167eb94d            4            1            5 42574a82229f
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   839
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   840
             6 f69452c5b1af            6            1            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   841
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   842
  $ hg pull -r `getid 'desc(r4)'`
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   843
  pulling from ssh://user@dummy/server
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   844
  no changes found
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   845
  OBSEXC: looking for common markers in 5 nodes
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   846
  OBSEXC: request obsmarkers for 1 common nodes
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   847
  1 new obsolescence markers
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   848
  $ hg blackbox
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   849
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" (glob) (windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   850
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob) (no-windows !)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   851
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   852
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   853
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" exited 0 after *.?? seconds (glob) (windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   854
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob) (no-windows !)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   855
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   856
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 1/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   857
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 1o) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   858
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d exited 0 after *.?? seconds (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   859
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   860
  $ rm .hg/blackbox.log
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   861
  $ hg debugobshashrange --subranges --rev 'heads(all())'
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   862
           rev         node        index         size        depth      obshash
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   863
             7 f69452c5b1af            0            7            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   864
             5 45f8b879de92            0            6            6 fdbbaec33b20
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   865
             3 2dc09a01254d            0            4            4 8932bf980bb4
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   866
             7 f69452c5b1af            4            3            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   867
             3 2dc09a01254d            2            2            4 ce1937ca1278
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   868
             5 45f8b879de92            4            2            6 f45551c1cf4f
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   869
             1 66f7d451a68b            0            2            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   870
             6 c8d03c1b5e94            4            2            6 149be75f95c0
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   871
             2 01241442b3c2            2            1            3 1ed3c61fb39a
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   872
             0 1ea73414a91b            0            1            1 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   873
             3 2dc09a01254d            3            1            4 26f996446ecb
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   874
             5 45f8b879de92            5            1            6 51df11ea9843
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   875
             1 66f7d451a68b            1            1            2 327c7dd73d29
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   876
             4 bebd167eb94d            4            1            5 42574a82229f
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   877
             6 c8d03c1b5e94            5            1            6 446c2dc3bce5
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   878
             7 f69452c5b1af            6            1            7 000000000000
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   879
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   880
Recover after rollback
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   881
----------------------
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   882
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   883
  $ hg pull
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   884
  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
   885
  searching for changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   886
  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
   887
  adding changesets
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   888
  adding manifests
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   889
  adding file changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   890
  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
   891
  1 new obsolescence markers
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3019
diff changeset
   892
  new changesets 4de32a90b66c
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   893
  (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
   894
  $ hg rollback
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   895
  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
   896
  $ hg blackbox
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   897
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   898
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" (glob) (windows !)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   899
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obshashcache clean - new markers affect 2 changeset and cached ranges (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   900
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (0r, 1o) (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   901
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob) (no-windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
   902
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" exited 0 after *.?? seconds (glob) (windows !)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   903
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   904
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 0/8 mismatch - 1 obshashrange queries in *.???? seconds (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   905
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated branch cache (served) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   906
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> wrote branch cache (served) with 1 labels and 2 nodes (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   907
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (1r, 1o) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   908
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 1 incoming changes - new heads: 4de32a90b66c (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   909
  * @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
   910
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> rollback (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   911
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated branch cache (base) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
   912
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> wrote branch cache (base) with 1 labels and 2 nodes (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
   913
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> strip detected, evo-ext-obscache cache reset (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   914
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (8r, 15o) (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   915
  * @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
   916
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   917
  $ 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
   918
  $ 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
   919
           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
   920
             7 f69452c5b1af            0            7            7 000000000000
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   921
             5 45f8b879de92            0            6            6 fdbbaec33b20
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   922
             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
   923
             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
   924
             3 2dc09a01254d            2            2            4 ce1937ca1278
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   925
             5 45f8b879de92            4            2            6 f45551c1cf4f
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   926
             1 66f7d451a68b            0            2            2 327c7dd73d29
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   927
             6 c8d03c1b5e94            4            2            6 149be75f95c0
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   928
             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
   929
             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
   930
             3 2dc09a01254d            3            1            4 26f996446ecb
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   931
             5 45f8b879de92            5            1            6 51df11ea9843
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   932
             1 66f7d451a68b            1            1            2 327c7dd73d29
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   933
             4 bebd167eb94d            4            1            5 42574a82229f
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   934
             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
   935
             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
   936
  $ hg pull
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   937
  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
   938
  searching for changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   939
  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
   940
  adding changesets
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   941
  adding manifests
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   942
  adding file changes
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   943
  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
   944
  1 new obsolescence markers
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3019
diff changeset
   945
  new changesets 4de32a90b66c
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   946
  (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
   947
  $ hg blackbox
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   948
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   949
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" (glob) (windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   950
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
   951
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" exited 0 after *.?? seconds (glob) (windows !)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   952
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   953
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> obsdiscovery, 0/8 mismatch - 1 obshashrange queries in *.???? seconds (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   954
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (1r, 1o) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   955
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> 1 incoming changes - new heads: 4de32a90b66c (glob)
2379
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   956
  * @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
   957
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
3593442d4a0e obshashrange: adds blackbox usage in tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2378
diff changeset
   958
  $ 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
   959
  $ 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
   960
           rev         node        index         size        depth      obshash
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   961
             8 4de32a90b66c            0            8            8 87b2a11bd884
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   962
             5 45f8b879de92            0            6            6 fdbbaec33b20
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   963
             3 2dc09a01254d            0            4            4 8932bf980bb4
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   964
             8 4de32a90b66c            4            4            8 20745010e1d8
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   965
             3 2dc09a01254d            2            2            4 ce1937ca1278
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   966
             5 45f8b879de92            4            2            6 f45551c1cf4f
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   967
             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
   968
             1 66f7d451a68b            0            2            2 327c7dd73d29
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   969
             6 c8d03c1b5e94            4            2            6 149be75f95c0
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   970
             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
   971
             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
   972
             3 2dc09a01254d            3            1            4 26f996446ecb
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   973
             5 45f8b879de92            5            1            6 51df11ea9843
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   974
             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
   975
             1 66f7d451a68b            1            1            2 327c7dd73d29
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
   976
             4 bebd167eb94d            4            1            5 42574a82229f
2378
c143d465c4b8 obshashrange: test behavior in case of rollback
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2377
diff changeset
   977
             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
   978
             7 f69452c5b1af            6            1            7 000000000000
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   979
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   980
Recover after stripping (in the middle of the repo)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   981
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   982
We strip a branch that is not the tip of the reporiosy so part of the affected
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   983
revision are reapplied after the target is stripped.
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   984
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   985
  $ hg log -G
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   986
  o  8 4de32a90b66c r7 tip
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   987
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   988
  o  7 f69452c5b1af r6
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   989
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   990
  o  6 c8d03c1b5e94 r5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   991
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   992
  | @  5 45f8b879de92 foo
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   993
  |/
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   994
  o  4 bebd167eb94d r4
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   995
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   996
  o  3 2dc09a01254d r3
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   997
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   998
  o  2 01241442b3c2 r2
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
   999
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1000
  o  1 66f7d451a68b r1
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1001
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1002
  o  0 1ea73414a91b r0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1003
  
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1004
  $ hg --config extensions.strip= strip -r 'desc("foo")'
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1005
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1006
  saved backup bundle to $TESTTMP/client/.hg/strip-backup/45f8b879de92-94c82517-backup.hg
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1007
  $ hg log -G
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1008
  o  7 4de32a90b66c r7 tip
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1009
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1010
  o  6 f69452c5b1af r6
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1011
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1012
  o  5 c8d03c1b5e94 r5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1013
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1014
  @  4 bebd167eb94d r4
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1015
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1016
  o  3 2dc09a01254d r3
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1017
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1018
  o  2 01241442b3c2 r2
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1019
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1020
  o  1 66f7d451a68b r1
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1021
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1022
  o  0 1ea73414a91b r0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1023
  
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1024
  $ hg pull
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1025
  pulling from ssh://user@dummy/server
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1026
  searching for changes
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1027
  OBSEXC: looking for common markers in 8 nodes
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
  1028
  OBSEXC: request obsmarkers for 1 common nodes
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1029
  adding changesets
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1030
  adding manifests
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1031
  adding file changes
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1032
  added 1 changesets with 1 changes to 1 files (+1 heads)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1033
  5 new obsolescence markers
3075
8feb2cae7eae test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3019
diff changeset
  1034
  new changesets 45f8b879de92
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1035
  (run 'hg heads' to see heads, 'hg merge' to merge)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1036
  $ hg log -G
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1037
  o  8 45f8b879de92 foo tip
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1038
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1039
  | o  7 4de32a90b66c r7
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1040
  | |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1041
  | o  6 f69452c5b1af r6
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1042
  | |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1043
  | o  5 c8d03c1b5e94 r5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1044
  |/
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1045
  @  4 bebd167eb94d r4
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1046
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1047
  o  3 2dc09a01254d r3
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1048
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1049
  o  2 01241442b3c2 r2
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1050
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1051
  o  1 66f7d451a68b r1
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1052
  |
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1053
  o  0 1ea73414a91b r0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1054
  
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1055
  $ hg blackbox
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
  1056
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob) (no-windows !)
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
  1057
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" (glob) (windows !)
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1058
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1059
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-depthcache in *.???? seconds (1r) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1060
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (1r) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1061
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (1r, 1o) (glob)
3966
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
  1062
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablesort in *.???? seconds (1r) (glob)
ea7687a9a4b8 obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3963
diff changeset
  1063
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-firstmerge in *.???? seconds (1r) (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
  1064
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev "heads(all())" exited 0 after *.?? seconds (glob) (windows !)
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
  1065
  1970/01/01 00:00:00 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob) (no-windows !)
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1066
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1067
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log -G exited 0 after *.?? seconds (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
  1068
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> --config "extensions.strip=" strip -r "desc(\"foo\")" (glob) (windows !)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
  1069
  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> --config 'extensions.strip=' strip -r 'desc("foo")' (glob) (no-windows !)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1070
  1970/01/01 00:00:00 * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> saved backup bundle to $TESTTMP/client/.hg/strip-backup/45f8b879de92-94c82517-backup.hg (glob)
3369
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
  1071
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-obscache cache reset (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
  1072
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache in *.???? seconds (5r, 11o) (glob)
c7fbb79cd366 caches: switch to 'auto' warming by default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3357
diff changeset
  1073
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache in *.???? seconds (3r, 0o) (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
  1074
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated branch cache (base) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
  1075
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> wrote branch cache (base) with 1 labels and 1 nodes (glob)
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1076
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> 3 incoming changes - new heads: 4de32a90b66c (glob)
4334
24f90069b772 tests: conditionalize some output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 4181
diff changeset
  1077
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> --config "extensions.strip=" strip -r "desc(\"foo\")" exited 0 after *.?? seconds (glob) (windows !)
3485
ece7cfdff335 test: conditionalize blackbox output for Windows
Matt Harbison <matt_harbison@yahoo.com>
parents: 3448
diff changeset
  1078
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> --config 'extensions.strip=' strip -r 'desc("foo")' exited 0 after *.?? seconds (glob) (no-windows !)
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1079
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1080
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1081
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1082
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> pull (glob)
4156
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1083
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-stablerange-mergepoint cache reset (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1084
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-depthcache cache reset (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1085
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-depthcache in *.???? seconds (8r) (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1086
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (8r) (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1087
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-obshashrange cache reset (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1088
  1970/01/01 00:00:00 * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obshashrange in *.???? seconds (8r, 11o) (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1089
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-stablesort cache reset (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1090
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-stablesort in *.???? seconds (8r) (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1091
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> strip detected, evo-ext-firstmerge cache reset (glob)
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1092
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-firstmerge in *.???? seconds (8r) (glob)
2709
5d54de9cf50f merge back with stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2698
diff changeset
  1093
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> obsdiscovery, 1/8 mismatch - 1 obshashrange queries in *.???? seconds (glob)
4725
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
  1094
  1970/01/01 00:00:00 * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated branch cache (base) in *.???? seconds (glob)
f162cafc5000 tests: update output for new branch cache messsages from Mercurial
Martin von Zweigbergk <martinvonz@google.com>
parents: 4643
diff changeset
  1095
  1970/01/01 00:00:00 * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> wrote branch cache (base) with 1 labels and 2 nodes (glob)
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1096
  1970/01/01 00:00:00 * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> updated evo-ext-obscache in *.???? seconds (1r, 5o) (glob)
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1097
  1970/01/01 00:00:00 * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> 1 incoming changes - new heads: 45f8b879de92 (glob)
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1098
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> pull exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1099
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1100
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1101
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> log -G exited 0 after *.?? seconds (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1102
  * @bebd167eb94d257ace0e814aeb98e6972ed2970d (*)> blackbox (glob)
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1103
  $ rm .hg/blackbox.log
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1104
  $ hg debugobshashrange --subranges --rev 'heads(all())'
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1105
           rev         node        index         size        depth      obshash
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1106
             7 4de32a90b66c            0            8            8 87b2a11bd884
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1107
             8 45f8b879de92            0            6            6 fdbbaec33b20
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1108
             3 2dc09a01254d            0            4            4 8932bf980bb4
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1109
             7 4de32a90b66c            4            4            8 20745010e1d8
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1110
             3 2dc09a01254d            2            2            4 ce1937ca1278
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1111
             8 45f8b879de92            4            2            6 f45551c1cf4f
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1112
             7 4de32a90b66c            6            2            8 033544c939f0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1113
             1 66f7d451a68b            0            2            2 327c7dd73d29
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1114
             5 c8d03c1b5e94            4            2            6 149be75f95c0
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1115
             2 01241442b3c2            2            1            3 1ed3c61fb39a
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1116
             0 1ea73414a91b            0            1            1 000000000000
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1117
             3 2dc09a01254d            3            1            4 26f996446ecb
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1118
             8 45f8b879de92            5            1            6 51df11ea9843
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1119
             7 4de32a90b66c            7            1            8 033544c939f0
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1120
             1 66f7d451a68b            1            1            2 327c7dd73d29
3958
926c8e2f5400 obshashrange: fix computation of affected ranges
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3957
diff changeset
  1121
             4 bebd167eb94d            4            1            5 42574a82229f
2421
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1122
             5 c8d03c1b5e94            5            1            6 446c2dc3bce5
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1123
             6 f69452c5b1af            6            1            7 000000000000
090b5a591916 tests: add a test about strip with obshashrange enable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 2419
diff changeset
  1124
3943
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1125
Cache warming capabilities
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1126
--------------------------
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1127
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1128
  $ hg config experimental.obshashrange
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1129
  1
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1130
  $ hg config experimental.obshashrange.warm-cache
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1131
  [1]
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1132
  $ hg debugupdatecache
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1133
  $ ls -1 .hg/cache/evoext*
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1134
  .hg/cache/evoext-depthcache-00
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1135
  .hg/cache/evoext-firstmerge-00
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1136
  .hg/cache/evoext-obscache-00
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1137
  .hg/cache/evoext-stablesortcache-00
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1138
  .hg/cache/evoext_obshashrange_v2.sqlite
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1139
  .hg/cache/evoext_stablerange_v2.sqlite
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1140
  $ rm -f .hg/cache/evoext*
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1141
  $ ls -1 .hg/cache/ | grep evoext
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1142
  [1]
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1143
  $ hg debugupdatecache --debug
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1144
  updating the branch cache
4905
f3e39a354378 branching: merge the stable branch with the mercurial-5.1 branch
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4903
diff changeset
  1145
  invalid branch cache (served): tip differs
3943
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1146
  $ f -s .hg/cache/evoext*
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1147
  .hg/cache/evoext-depthcache-00: size=96
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1148
  .hg/cache/evoext-firstmerge-00: size=96
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1149
  .hg/cache/evoext-obscache-00: size=73
beb6a77223d2 obshashrange: add a test for `hg debugupdatecache`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3875
diff changeset
  1150
  .hg/cache/evoext-stablesortcache-00: size=100
3944
4ef3800c9bf8 test: fix previous changeset output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3943
diff changeset
  1151
  .hg/cache/evoext_obshashrange_v2.sqlite: size=??* (glob)
4ef3800c9bf8 test: fix previous changeset output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3943
diff changeset
  1152
  .hg/cache/evoext_stablerange_v2.sqlite: size=??* (glob)
4156
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1153
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1154
  $ rm -f .hg/cache/evoext*
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1155
  $ ls -1 .hg/cache/ | grep evoext
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1156
  [1]
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1157
  $ hg strip -r 5 --config extensions.strip=
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1158
  saved backup bundle to $TESTTMP/client/.hg/strip-backup/c8d03c1b5e94-b257442b-backup.hg
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1159
  $ f -s .hg/cache/evoext*
f996596d8ccc caches: no longer warm the cache on strip in "auto" mode
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4029
diff changeset
  1160
  .hg/cache/evoext-obscache-00: size=70
4479
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1161
  $ cd ..
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1162
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1163
Check capabilities advertisement
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1164
================================
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1165
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1166
  $ hg init with-evolve
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1167
  $ cat << EOF >> with-evolve/.hg/hgrc
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1168
  > [experimental]
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1169
  > evolution.exchange=yes
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1170
  > EOF
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1171
  $ hg init without-evolve
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1172
  $ cat << EOF >> without-evolve/.hg/hgrc
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1173
  > [experimental]
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1174
  > evolution.exchange=no
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1175
  > EOF
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1176
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1177
  $ hg debugcapabilities ssh://user@dummy/with-evolve | grep _evoext
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1178
    _evoext_getbundle_obscommon
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1179
    _evoext_obshashrange_v1
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1180
  $ hg debugcapabilities ssh://user@dummy/without-evolve | grep _evoext
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1181
  [1]
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1182
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1183
Using http:
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1184
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1185
  $ cat > web.conf << EOF
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1186
  > [paths]
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1187
  > / = *
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1188
  > EOF
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1189
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1190
(evolve version first)
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1191
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1192
  $ hg serve --web-conf web.conf -p $HGPORT -d --pid-file hg.pid
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1193
  $ cat hg.pid >> $DAEMON_PIDS
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1194
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1195
  $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1196
    _evoext_getbundle_obscommon
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1197
    _evoext_obshashrange_v1
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1198
  $ hg debugcapabilities http://localhost:$HGPORT/without-evolve| grep _evoext
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1199
  [1]
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1200
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1201
  $ killdaemons.py
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1202
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1203
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1204
(evolve version second)
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1205
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1206
  $ hg serve --web-conf web.conf -p $HGPORT -d --pid-file hg.pid
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1207
  $ cat hg.pid >> $DAEMON_PIDS
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1208
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1209
  $ hg debugcapabilities http://localhost:$HGPORT/without-evolve| grep _evoext
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1210
  [1]
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1211
  $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1212
    _evoext_getbundle_obscommon
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1213
    _evoext_obshashrange_v1
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1214
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4335
diff changeset
  1215
  $ killdaemons.py