tests/test-obsolete-divergent.t
changeset 35709 1a09dad8b85a
parent 35508 9b3f95d9783d
child 36321 ef7b48e6388d
equal deleted inserted replaced
35708:03e921942163 35709:1a09dad8b85a
    59 
    59 
    60   $ newcase direct
    60   $ newcase direct
    61   $ hg debugobsolete `getid A_0` `getid A_1`
    61   $ hg debugobsolete `getid A_0` `getid A_1`
    62   obsoleted 1 changesets
    62   obsoleted 1 changesets
    63   $ hg debugobsolete `getid A_0` `getid A_2`
    63   $ hg debugobsolete `getid A_0` `getid A_2`
       
    64   2 new content-divergent changesets
    64   $ hg log -G --hidden
    65   $ hg log -G --hidden
    65   *  3:392fd25390da A_2
    66   *  3:392fd25390da A_2
    66   |
    67   |
    67   | *  2:82623d38b9ba A_1
    68   | *  2:82623d38b9ba A_1
    68   |/
    69   |/
   118 
   119 
   119   $ newcase indirect_known
   120   $ newcase indirect_known
   120   $ hg debugobsolete `getid A_0` `getid A_1`
   121   $ hg debugobsolete `getid A_0` `getid A_1`
   121   obsoleted 1 changesets
   122   obsoleted 1 changesets
   122   $ hg debugobsolete `getid A_0` `getid A_2`
   123   $ hg debugobsolete `getid A_0` `getid A_2`
       
   124   2 new content-divergent changesets
   123   $ mkcommit A_3
   125   $ mkcommit A_3
   124   created new head
   126   created new head
   125   $ hg debugobsolete `getid A_2` `getid A_3`
   127   $ hg debugobsolete `getid A_2` `getid A_3`
   126   obsoleted 1 changesets
   128   obsoleted 1 changesets
   127   $ hg log -G --hidden
   129   $ hg log -G --hidden
   178   $ newcase indirect_unknown
   180   $ newcase indirect_unknown
   179   $ hg debugobsolete `getid A_0` aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
   181   $ hg debugobsolete `getid A_0` aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
   180   obsoleted 1 changesets
   182   obsoleted 1 changesets
   181   $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid A_1`
   183   $ hg debugobsolete aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa `getid A_1`
   182   $ hg debugobsolete `getid A_0` `getid A_2`
   184   $ hg debugobsolete `getid A_0` `getid A_2`
       
   185   2 new content-divergent changesets
   183   $ hg log -G --hidden
   186   $ hg log -G --hidden
   184   *  3:392fd25390da A_2
   187   *  3:392fd25390da A_2
   185   |
   188   |
   186   | *  2:82623d38b9ba A_1
   189   | *  2:82623d38b9ba A_1
   187   |/
   190   |/
   248 
   251 
   249   $ newcase converged_divergence
   252   $ newcase converged_divergence
   250   $ hg debugobsolete `getid A_0` `getid A_1`
   253   $ hg debugobsolete `getid A_0` `getid A_1`
   251   obsoleted 1 changesets
   254   obsoleted 1 changesets
   252   $ hg debugobsolete `getid A_0` `getid A_2`
   255   $ hg debugobsolete `getid A_0` `getid A_2`
       
   256   2 new content-divergent changesets
   253   $ mkcommit A_3
   257   $ mkcommit A_3
   254   created new head
   258   created new head
   255   $ hg debugobsolete `getid A_1` `getid A_3`
   259   $ hg debugobsolete `getid A_1` `getid A_3`
   256   obsoleted 1 changesets
   260   obsoleted 1 changesets
   257   $ hg debugobsolete `getid A_2` `getid A_3`
   261   $ hg debugobsolete `getid A_2` `getid A_3`
   428   obsoleted 1 changesets
   432   obsoleted 1 changesets
   429   $ mkcommit A_9; hg up 0
   433   $ mkcommit A_9; hg up 0
   430   created new head
   434   created new head
   431   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   435   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   432   $ hg debugobsolete `getid A_5` `getid A_9`
   436   $ hg debugobsolete `getid A_5` `getid A_9`
       
   437   4 new content-divergent changesets
   433   $ hg log -G --hidden
   438   $ hg log -G --hidden
   434   *  10:bed64f5d2f5a A_9
   439   *  10:bed64f5d2f5a A_9
   435   |
   440   |
   436   | *  9:14608b260df8 A_8
   441   | *  9:14608b260df8 A_8
   437   |/
   442   |/
   668   >         scmutil.cleanupnodes(repo, mapping, 'test')
   673   >         scmutil.cleanupnodes(repo, mapping, 'test')
   669   > EOF
   674   > EOF
   670 
   675 
   671   $ rm .hg/localtags
   676   $ rm .hg/localtags
   672   $ hg cleanup --config extensions.t=$TESTTMP/scmutilcleanup.py
   677   $ hg cleanup --config extensions.t=$TESTTMP/scmutilcleanup.py
       
   678   2 new content-divergent changesets
   673   $ hg log -G -T '{rev}:{node|short} {desc} {instabilities}' -r 'sort(all(), topo)'
   679   $ hg log -G -T '{rev}:{node|short} {desc} {instabilities}' -r 'sort(all(), topo)'
   674   @  5:1a2a9b5b0030 B2 content-divergent
   680   @  5:1a2a9b5b0030 B2 content-divergent
   675   |
   681   |
   676   | *  4:70d5a63ca112 B4 content-divergent
   682   | *  4:70d5a63ca112 B4 content-divergent
   677   | |
   683   | |