tests/test-obsolete.t
branchstable
changeset 18493 fe67107094fd
parent 18492 45445187d286
child 18506 ef60083b5536
equal deleted inserted replaced
18492:45445187d286 18493:fe67107094fd
   316 ============================
   316 ============================
   317 
   317 
   318 Destination repo does not have any data
   318 Destination repo does not have any data
   319 ---------------------------------------
   319 ---------------------------------------
   320 
   320 
       
   321 Simple incoming test
       
   322 
       
   323   $ hg init tmpc
       
   324   $ cd tmpc
       
   325   $ hg incoming ../tmpb
       
   326   comparing with ../tmpb
       
   327   changeset:   0:1f0dee641bb7
       
   328   user:        test
       
   329   date:        Thu Jan 01 00:00:00 1970 +0000
       
   330   summary:     add a
       
   331   
       
   332   changeset:   1:7c3bad9141dc
       
   333   user:        test
       
   334   date:        Thu Jan 01 00:00:00 1970 +0000
       
   335   summary:     add b
       
   336   
       
   337   changeset:   2:245bde4270cd
       
   338   user:        test
       
   339   date:        Thu Jan 01 00:00:00 1970 +0000
       
   340   summary:     add original_c
       
   341   
       
   342   changeset:   6:6f9641995072
       
   343   tag:         tip
       
   344   parent:      1:7c3bad9141dc
       
   345   user:        test
       
   346   date:        Thu Jan 01 00:00:00 1970 +0000
       
   347   summary:     add n3w_3_c
       
   348   
       
   349 
   321 Try to pull markers
   350 Try to pull markers
   322 (extinct changeset are excluded but marker are pushed)
   351 (extinct changeset are excluded but marker are pushed)
   323 
   352 
   324   $ hg init tmpc
       
   325   $ cd tmpc
       
   326   $ hg pull ../tmpb
   353   $ hg pull ../tmpb
   327   pulling from ../tmpb
   354   pulling from ../tmpb
   328   requesting all changes
   355   requesting all changes
   329   adding changesets
   356   adding changesets
   330   adding manifests
   357   adding manifests
   661   
   688   
   662   $ hg up -q 'desc(n3w_3_c)'
   689   $ hg up -q 'desc(n3w_3_c)'
   663   $ mkcommit obsolete_e
   690   $ mkcommit obsolete_e
   664   created new head
   691   created new head
   665   $ hg debugobsolete `getid 'original_e'` `getid 'obsolete_e'`
   692   $ hg debugobsolete `getid 'original_e'` `getid 'obsolete_e'`
       
   693   $ hg outgoing ../tmpf # parasite hg outgoing testin
       
   694   comparing with ../tmpf
       
   695   searching for changes
       
   696   changeset:   6:3de5eca88c00
       
   697   tag:         tip
       
   698   parent:      3:6f9641995072
       
   699   user:        test
       
   700   date:        Thu Jan 01 00:00:00 1970 +0000
       
   701   summary:     add obsolete_e
       
   702   
   666   $ hg push ../tmpf
   703   $ hg push ../tmpf
   667   pushing to ../tmpf
   704   pushing to ../tmpf
   668   searching for changes
   705   searching for changes
   669   adding changesets
   706   adding changesets
   670   adding manifests
   707   adding manifests