tests/test-phases.t
changeset 15713 cff25e4b37d2
parent 15712 06b8b74720d6
child 15819 33ca11b010e2
equal deleted inserted replaced
15712:06b8b74720d6 15713:cff25e4b37d2
    86   3 1 D
    86   3 1 D
    87   2 1 C
    87   2 1 C
    88   1 0 B
    88   1 0 B
    89   0 0 A
    89   0 0 A
    90 
    90 
       
    91 Test secret changeset are not pushed
       
    92 
       
    93   $ hg init ../push-dest
       
    94   $ hg push ../push-dest -f # force because we push multiple heads
       
    95   pushing to ../push-dest
       
    96   searching for changes
       
    97   adding changesets
       
    98   adding manifests
       
    99   adding file changes
       
   100   added 5 changesets with 5 changes to 5 files (+1 heads)
       
   101   $ hglog
       
   102   7 2 merge B' and E
       
   103   6 0 B'
       
   104   5 2 H
       
   105   4 2 E
       
   106   3 0 D
       
   107   2 0 C
       
   108   1 0 B
       
   109   0 0 A
       
   110   $ cd ../push-dest
       
   111   $ hglog
       
   112   4 0 B'
       
   113   3 0 D
       
   114   2 0 C
       
   115   1 0 B
       
   116   0 0 A
       
   117   $ cd ..
       
   118 
       
   119 Test secret changeset are not pull
       
   120 
       
   121   $ hg init pull-dest
       
   122   $ cd pull-dest
       
   123   $ hg pull ../initialrepo
       
   124   pulling from ../initialrepo
       
   125   requesting all changes
       
   126   adding changesets
       
   127   adding manifests
       
   128   adding file changes
       
   129   added 5 changesets with 5 changes to 5 files (+1 heads)
       
   130   (run 'hg heads' to see heads, 'hg merge' to merge)
       
   131   $ hglog
       
   132   4 0 B'
       
   133   3 0 D
       
   134   2 0 C
       
   135   1 0 B
       
   136   0 0 A