tests/test-obsolete.t
changeset 486 2111c655b4f5
parent 480 cd1d5b7308be
child 491 6989d8fe4ed2
equal deleted inserted replaced
485:41bf6c27a122 486:2111c655b4f5
   121   4
   121   4
   122   - 725c380fe99b
   122   - 725c380fe99b
   123   $ hg up 3 -q
   123   $ hg up 3 -q
   124   Working directory parent is obsolete
   124   Working directory parent is obsolete
   125   $ mkcommit d # 5 (on 3)
   125   $ mkcommit d # 5 (on 3)
   126   1 new unstables changesets
   126   1 new unstable changesets
   127   $ qlog -r 'obsolete()'
   127   $ qlog -r 'obsolete()'
   128   3
   128   3
   129   - 0d3f46688ccc
   129   - 0d3f46688ccc
   130 
   130 
   131   $ qlog -r 'extinct()' --hidden
   131   $ qlog -r 'extinct()' --hidden
   196   - 1f0dee641bb7
   196   - 1f0dee641bb7
   197   $ hg up 3 -q
   197   $ hg up 3 -q
   198   Working directory parent is obsolete
   198   Working directory parent is obsolete
   199   $ mkcommit obsol_d # 6
   199   $ mkcommit obsol_d # 6
   200   created new head
   200   created new head
   201   1 new unstables changesets
   201   1 new unstable changesets
   202   $ hg debugobsolete `getid 5` `getid 6`
   202   $ hg debugobsolete `getid 5` `getid 6`
   203   $ qlog
   203   $ qlog
   204   6
   204   6
   205   - 95de7fc6918d
   205   - 95de7fc6918d
   206   4
   206   4
   252 
   252 
   253   $ hg up -q .^ # 3
   253   $ hg up -q .^ # 3
   254   Working directory parent is obsolete
   254   Working directory parent is obsolete
   255   $ mkcommit "obsol_d'" # 7
   255   $ mkcommit "obsol_d'" # 7
   256   created new head
   256   created new head
   257   1 new unstables changesets
   257   1 new unstable changesets
   258   $ hg debugobsolete `getid 6` `getid 7`
   258   $ hg debugobsolete `getid 6` `getid 7`
   259   $ hg pull -R ../other-new .
   259   $ hg pull -R ../other-new .
   260   pulling from .
   260   pulling from .
   261   searching for changes
   261   searching for changes
   262   adding changesets
   262   adding changesets
   339 
   339 
   340   $ hg up .^ -q # 3
   340   $ hg up .^ -q # 3
   341   Working directory parent is obsolete
   341   Working directory parent is obsolete
   342   $ mkcommit "obsol_d''"
   342   $ mkcommit "obsol_d''"
   343   created new head
   343   created new head
   344   1 new unstables changesets
   344   1 new unstable changesets
   345   $ hg debugobsolete `getid 7` `getid 8`
   345   $ hg debugobsolete `getid 7` `getid 8`
   346   $ cd ../other-new
   346   $ cd ../other-new
   347   $ hg up -q 3
   347   $ hg up -q 3
   348   $ hg pull ../local/
   348   $ hg pull ../local/
   349   pulling from ../local/
   349   pulling from ../local/
   535 check latecomer detection
   535 check latecomer detection
   536 (make an obsolete changeset public)
   536 (make an obsolete changeset public)
   537 
   537 
   538   $ cd local
   538   $ cd local
   539   $ hg phase --public 11
   539   $ hg phase --public 11
   540   1 new latecomers changesets
   540   1 new latecomer changesets
   541   $ hg --config extensions.graphlog=glog glog --template='{rev} - ({phase}) {node|short} {desc}\n'
   541   $ hg --config extensions.graphlog=glog glog --template='{rev} - ({phase}) {node|short} {desc}\n'
   542   @  12 - (draft) 6db5e282cb91 add obsol_d'''
   542   @  12 - (draft) 6db5e282cb91 add obsol_d'''
   543   |
   543   |
   544   | o  11 - (public) 9468a5f5d8b2 add obsol_d''
   544   | o  11 - (public) 9468a5f5d8b2 add obsol_d''
   545   |/
   545   |/