tests/test-obsolete.t
changeset 214 a140d1857931
parent 206 80f602e6ae8a
child 215 0eceb5a48485
equal deleted inserted replaced
213:ea4aa1890b16 214:a140d1857931
   122   searching for changes
   122   searching for changes
   123   adding changesets
   123   adding changesets
   124   adding manifests
   124   adding manifests
   125   adding file changes
   125   adding file changes
   126   added 5 changesets with 5 changes to 5 files (+1 heads)
   126   added 5 changesets with 5 changes to 5 files (+1 heads)
       
   127   $ qlog -R ../other-new verify
   127   $ qlog -R ../other-new -r 'obsolete()'
   128   $ qlog -R ../other-new -r 'obsolete()'
   128   2
   129   2
   129   - 0d3f46688ccc
   130   - 0d3f46688ccc
   130   $ qlog -R ../other-new
   131   $ qlog -R ../other-new
   131   4
   132   4
   176   0
   177   0
   177   - 1f0dee641bb7
   178   - 1f0dee641bb7
   178   $ qlog -R ../other-new -r 'obsolete()'
   179   $ qlog -R ../other-new -r 'obsolete()'
   179   2
   180   2
   180   - 0d3f46688ccc
   181   - 0d3f46688ccc
       
   182 
       
   183 Pushing again does not advertise extinct changeset
       
   184 
       
   185   $ hg push ../other-new
       
   186   pushing to ../other-new
       
   187   searching for changes
       
   188   no changes found
       
   189   [1]
       
   190 
   181   $ hg up -q .^ # 3
   191   $ hg up -q .^ # 3
   182   Working directory parent is obsolete
   192   Working directory parent is obsolete
   183   $ mkcommit "obsol_d'" # 7
   193   $ mkcommit "obsol_d'" # 7
   184   created new head
   194   created new head
   185   $ hg debugobsolete 7 6
   195   $ hg debugobsolete 7 6