tests/test-stablesort.t
changeset 3075 8feb2cae7eae
parent 2516 d0a78e8b6434
child 3100 ccfcacc5ee7c
child 3236 7c78b0c482a1
equal deleted inserted replaced
3074:8d57acde165d 3075:8feb2cae7eae
   143   $ hg clone repo_A repo_B --rev 5
   143   $ hg clone repo_A repo_B --rev 5
   144   adding changesets
   144   adding changesets
   145   adding manifests
   145   adding manifests
   146   adding file changes
   146   adding file changes
   147   added 4 changesets with 0 changes to 0 files
   147   added 4 changesets with 0 changes to 0 files
       
   148   new changesets 1ea73414a91b:f0f3ef9a6cd5
   148   updating to branch default
   149   updating to branch default
   149   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   150   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   150   $ hg -R repo_B pull --rev 13
   151   $ hg -R repo_B pull --rev 13
   151   pulling from $TESTTMP/repo_A (glob)
   152   pulling from $TESTTMP/repo_A (glob)
   152   searching for changes
   153   searching for changes
   153   adding changesets
   154   adding changesets
   154   adding manifests
   155   adding manifests
   155   adding file changes
   156   adding file changes
   156   added 4 changesets with 0 changes to 0 files (+1 heads)
   157   added 4 changesets with 0 changes to 0 files (+1 heads)
       
   158   new changesets 66f7d451a68b:b4594d867745
   157   (run 'hg heads' to see heads, 'hg merge' to merge)
   159   (run 'hg heads' to see heads, 'hg merge' to merge)
   158   $ hg -R repo_B pull --rev 14
   160   $ hg -R repo_B pull --rev 14
   159   pulling from $TESTTMP/repo_A (glob)
   161   pulling from $TESTTMP/repo_A (glob)
   160   searching for changes
   162   searching for changes
   161   adding changesets
   163   adding changesets
   162   adding manifests
   164   adding manifests
   163   adding file changes
   165   adding file changes
   164   added 1 changesets with 0 changes to 0 files (+1 heads)
   166   added 1 changesets with 0 changes to 0 files (+1 heads)
       
   167   new changesets 43227190fef8
   165   (run 'hg heads .' to see heads, 'hg merge' to merge)
   168   (run 'hg heads .' to see heads, 'hg merge' to merge)
   166   $ hg -R repo_B pull
   169   $ hg -R repo_B pull
   167   pulling from $TESTTMP/repo_A (glob)
   170   pulling from $TESTTMP/repo_A (glob)
   168   searching for changes
   171   searching for changes
   169   adding changesets
   172   adding changesets
   170   adding manifests
   173   adding manifests
   171   adding file changes
   174   adding file changes
   172   added 7 changesets with 0 changes to 0 files (+3 heads)
   175   added 7 changesets with 0 changes to 0 files (+3 heads)
       
   176   new changesets 2702dd0c91e7:1d8d22637c2d
   173   (run 'hg heads .' to see heads, 'hg merge' to merge)
   177   (run 'hg heads .' to see heads, 'hg merge' to merge)
   174   $ hg -R repo_B log -G
   178   $ hg -R repo_B log -G
   175   o    15 1d8d22637c2d r15 tip
   179   o    15 1d8d22637c2d r15 tip
   176   |\
   180   |\
   177   | | o  14 e46a4836065c r12
   181   | | o  14 e46a4836065c r12
   209   $ hg clone repo_A repo_C --rev 10
   213   $ hg clone repo_A repo_C --rev 10
   210   adding changesets
   214   adding changesets
   211   adding manifests
   215   adding manifests
   212   adding file changes
   216   adding file changes
   213   added 7 changesets with 0 changes to 0 files
   217   added 7 changesets with 0 changes to 0 files
       
   218   new changesets 1ea73414a91b:ff43616e5d0f
   214   updating to branch default
   219   updating to branch default
   215   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   220   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   216   $ hg -R repo_C pull --rev 12
   221   $ hg -R repo_C pull --rev 12
   217   pulling from $TESTTMP/repo_A (glob)
   222   pulling from $TESTTMP/repo_A (glob)
   218   searching for changes
   223   searching for changes
   219   adding changesets
   224   adding changesets
   220   adding manifests
   225   adding manifests
   221   adding file changes
   226   adding file changes
   222   added 2 changesets with 0 changes to 0 files (+1 heads)
   227   added 2 changesets with 0 changes to 0 files (+1 heads)
       
   228   new changesets bab5d5bf48bd:e46a4836065c
   223   (run 'hg heads' to see heads, 'hg merge' to merge)
   229   (run 'hg heads' to see heads, 'hg merge' to merge)
   224   $ hg -R repo_C pull --rev 15
   230   $ hg -R repo_C pull --rev 15
   225   pulling from $TESTTMP/repo_A (glob)
   231   pulling from $TESTTMP/repo_A (glob)
   226   searching for changes
   232   searching for changes
   227   adding changesets
   233   adding changesets
   228   adding manifests
   234   adding manifests
   229   adding file changes
   235   adding file changes
   230   added 4 changesets with 0 changes to 0 files (+1 heads)
   236   added 4 changesets with 0 changes to 0 files (+1 heads)
       
   237   new changesets 4c748ffd1a46:1d8d22637c2d
   231   (run 'hg heads .' to see heads, 'hg merge' to merge)
   238   (run 'hg heads .' to see heads, 'hg merge' to merge)
   232   $ hg -R repo_C pull
   239   $ hg -R repo_C pull
   233   pulling from $TESTTMP/repo_A (glob)
   240   pulling from $TESTTMP/repo_A (glob)
   234   searching for changes
   241   searching for changes
   235   adding changesets
   242   adding changesets
   236   adding manifests
   243   adding manifests
   237   adding file changes
   244   adding file changes
   238   added 3 changesets with 0 changes to 0 files (+3 heads)
   245   added 3 changesets with 0 changes to 0 files (+3 heads)
       
   246   new changesets 2702dd0c91e7:b4594d867745
   239   (run 'hg heads .' to see heads, 'hg merge' to merge)
   247   (run 'hg heads .' to see heads, 'hg merge' to merge)
   240   $ hg -R repo_C log -G
   248   $ hg -R repo_C log -G
   241   o  15 b4594d867745 r13 tip
   249   o  15 b4594d867745 r13 tip
   242   |
   250   |
   243   | o  14 dcbb326fdec2 r9
   251   | o  14 dcbb326fdec2 r9
   275   $ hg clone repo_A repo_D --rev 2
   283   $ hg clone repo_A repo_D --rev 2
   276   adding changesets
   284   adding changesets
   277   adding manifests
   285   adding manifests
   278   adding file changes
   286   adding file changes
   279   added 2 changesets with 0 changes to 0 files
   287   added 2 changesets with 0 changes to 0 files
       
   288   new changesets 1ea73414a91b:fa942426a6fd
   280   updating to branch default
   289   updating to branch default
   281   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   290   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   282   $ hg -R repo_D pull --rev 10
   291   $ hg -R repo_D pull --rev 10
   283   pulling from $TESTTMP/repo_A (glob)
   292   pulling from $TESTTMP/repo_A (glob)
   284   searching for changes
   293   searching for changes
   285   adding changesets
   294   adding changesets
   286   adding manifests
   295   adding manifests
   287   adding file changes
   296   adding file changes
   288   added 5 changesets with 0 changes to 0 files
   297   added 5 changesets with 0 changes to 0 files
       
   298   new changesets 66f7d451a68b:ff43616e5d0f
   289   (run 'hg update' to get a working copy)
   299   (run 'hg update' to get a working copy)
   290   $ hg -R repo_D pull --rev 15
   300   $ hg -R repo_D pull --rev 15
   291   pulling from $TESTTMP/repo_A (glob)
   301   pulling from $TESTTMP/repo_A (glob)
   292   searching for changes
   302   searching for changes
   293   adding changesets
   303   adding changesets
   294   adding manifests
   304   adding manifests
   295   adding file changes
   305   adding file changes
   296   added 4 changesets with 0 changes to 0 files (+1 heads)
   306   added 4 changesets with 0 changes to 0 files (+1 heads)
       
   307   new changesets 4c748ffd1a46:1d8d22637c2d
   297   (run 'hg heads' to see heads, 'hg merge' to merge)
   308   (run 'hg heads' to see heads, 'hg merge' to merge)
   298   $ hg -R repo_D pull
   309   $ hg -R repo_D pull
   299   pulling from $TESTTMP/repo_A (glob)
   310   pulling from $TESTTMP/repo_A (glob)
   300   searching for changes
   311   searching for changes
   301   adding changesets
   312   adding changesets
   302   adding manifests
   313   adding manifests
   303   adding file changes
   314   adding file changes
   304   added 5 changesets with 0 changes to 0 files (+4 heads)
   315   added 5 changesets with 0 changes to 0 files (+4 heads)
       
   316   new changesets 2702dd0c91e7:b4594d867745
   305   (run 'hg heads .' to see heads, 'hg merge' to merge)
   317   (run 'hg heads .' to see heads, 'hg merge' to merge)
   306   $ hg -R repo_D log -G
   318   $ hg -R repo_D log -G
   307   o  15 b4594d867745 r13 tip
   319   o  15 b4594d867745 r13 tip
   308   |
   320   |
   309   | o  14 e46a4836065c r12
   321   | o  14 e46a4836065c r12
   409   $ hg clone repo_A repo_E --rev "43227190fef8"
   421   $ hg clone repo_A repo_E --rev "43227190fef8"
   410   adding changesets
   422   adding changesets
   411   adding manifests
   423   adding manifests
   412   adding file changes
   424   adding file changes
   413   added 5 changesets with 0 changes to 0 files
   425   added 5 changesets with 0 changes to 0 files
       
   426   new changesets 1ea73414a91b:43227190fef8
   414   updating to branch default
   427   updating to branch default
   415   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   428   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   416   $ hg -R repo_E pull --rev e7d9710d9fc6
   429   $ hg -R repo_E pull --rev e7d9710d9fc6
   417   pulling from $TESTTMP/repo_A (glob)
   430   pulling from $TESTTMP/repo_A (glob)
   418   searching for changes
   431   searching for changes
   419   adding changesets
   432   adding changesets
   420   adding manifests
   433   adding manifests
   421   adding file changes
   434   adding file changes
   422   added 1 changesets with 0 changes to 0 files (+1 heads)
   435   added 1 changesets with 0 changes to 0 files (+1 heads)
       
   436   new changesets e7d9710d9fc6
   423   (run 'hg heads' to see heads, 'hg merge' to merge)
   437   (run 'hg heads' to see heads, 'hg merge' to merge)
   424 
   438 
   425   $ hg clone repo_A repo_F --rev "1d8d22637c2d"
   439   $ hg clone repo_A repo_F --rev "1d8d22637c2d"
   426   adding changesets
   440   adding changesets
   427   adding manifests
   441   adding manifests
   428   adding file changes
   442   adding file changes
   429   added 8 changesets with 0 changes to 0 files
   443   added 8 changesets with 0 changes to 0 files
       
   444   new changesets 1ea73414a91b:1d8d22637c2d
   430   updating to branch default
   445   updating to branch default
   431   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   446   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   432   $ hg -R repo_F pull --rev d62d843c9a01
   447   $ hg -R repo_F pull --rev d62d843c9a01
   433   pulling from $TESTTMP/repo_A (glob)
   448   pulling from $TESTTMP/repo_A (glob)
   434   searching for changes
   449   searching for changes
   435   adding changesets
   450   adding changesets
   436   adding manifests
   451   adding manifests
   437   adding file changes
   452   adding file changes
   438   added 2 changesets with 0 changes to 0 files (+1 heads)
   453   added 2 changesets with 0 changes to 0 files (+1 heads)
       
   454   new changesets e7d9710d9fc6:d62d843c9a01
   439   (run 'hg heads' to see heads, 'hg merge' to merge)
   455   (run 'hg heads' to see heads, 'hg merge' to merge)
   440 
   456 
   441   $ hg clone repo_A repo_G --rev "e7d9710d9fc6"
   457   $ hg clone repo_A repo_G --rev "e7d9710d9fc6"
   442   adding changesets
   458   adding changesets
   443   adding manifests
   459   adding manifests
   444   adding file changes
   460   adding file changes
   445   added 5 changesets with 0 changes to 0 files
   461   added 5 changesets with 0 changes to 0 files
       
   462   new changesets 1ea73414a91b:e7d9710d9fc6
   446   updating to branch default
   463   updating to branch default
   447   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   464   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   448   $ hg -R repo_G pull --rev 43227190fef8
   465   $ hg -R repo_G pull --rev 43227190fef8
   449   pulling from $TESTTMP/repo_A (glob)
   466   pulling from $TESTTMP/repo_A (glob)
   450   searching for changes
   467   searching for changes
   451   adding changesets
   468   adding changesets
   452   adding manifests
   469   adding manifests
   453   adding file changes
   470   adding file changes
   454   added 1 changesets with 0 changes to 0 files (+1 heads)
   471   added 1 changesets with 0 changes to 0 files (+1 heads)
       
   472   new changesets 43227190fef8
   455   (run 'hg heads' to see heads, 'hg merge' to merge)
   473   (run 'hg heads' to see heads, 'hg merge' to merge)
   456   $ hg -R repo_G pull --rev 2702dd0c91e7
   474   $ hg -R repo_G pull --rev 2702dd0c91e7
   457   pulling from $TESTTMP/repo_A (glob)
   475   pulling from $TESTTMP/repo_A (glob)
   458   searching for changes
   476   searching for changes
   459   adding changesets
   477   adding changesets
   460   adding manifests
   478   adding manifests
   461   adding file changes
   479   adding file changes
   462   added 3 changesets with 0 changes to 0 files (+1 heads)
   480   added 3 changesets with 0 changes to 0 files (+1 heads)
       
   481   new changesets 4c748ffd1a46:2702dd0c91e7
   463   (run 'hg heads .' to see heads, 'hg merge' to merge)
   482   (run 'hg heads .' to see heads, 'hg merge' to merge)
   464 
   483 
   465   $ for x in E F G; do
   484   $ for x in E F G; do
   466   >     hg -R repo_$x showsort --rev 'e7d9710d9fc6+43227190fef8' > ${x}.non-heads.order;
   485   >     hg -R repo_$x showsort --rev 'e7d9710d9fc6+43227190fef8' > ${x}.non-heads.order;
   467   > done
   486   > done
   586   $ hg clone recursion_A recursion_random --rev 0
   605   $ hg clone recursion_A recursion_random --rev 0
   587   adding changesets
   606   adding changesets
   588   adding manifests
   607   adding manifests
   589   adding file changes
   608   adding file changes
   590   added 1 changesets with 0 changes to 0 files
   609   added 1 changesets with 0 changes to 0 files
       
   610   new changesets 1ea73414a91b
   591   updating to branch default
   611   updating to branch default
   592   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   612   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   593   $ cd recursion_random
   613   $ cd recursion_random
   594   $ for x in `python ../random_rev.py 15 5`; do
   614   $ for x in `python ../random_rev.py 15 5`; do
   595   >   # using python to benefit from the random seed
   615   >   # using python to benefit from the random seed