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