tests/test-stabilize-result.t
branchmercurial-4.3
changeset 3166 e1a230cc4527
parent 3106 a867d59ea97a
parent 3155 b237c1c6dc19
child 3418 85cdce113c2c
equal deleted inserted replaced
3127:cd90da787a44 3166:e1a230cc4527
   154   o  0:07f494440405@default(public) bk:[] adda
   154   o  0:07f494440405@default(public) bk:[] adda
   155   
   155   
   156 
   156 
   157 Stabilize!
   157 Stabilize!
   158 
   158 
   159   $ hg evolve --any --dry-run --phasedivergent
   159   $ hg evolve --any --dry-run --phase-divergent
   160   recreate:[12] newer a
   160   recreate:[12] newer a
   161   atop:[8] newer a
   161   atop:[8] newer a
   162   hg rebase --rev (73b15c7566e9|d5c7ef82d003) --dest 66719795a494; (re)
   162   hg rebase --rev (73b15c7566e9|d5c7ef82d003) --dest 66719795a494; (re)
   163   hg update 1cf0aacfd363;
   163   hg update 1cf0aacfd363;
   164   hg revert --all --rev (73b15c7566e9|d5c7ef82d003); (re)
   164   hg revert --all --rev (73b15c7566e9|d5c7ef82d003); (re)
   165   hg commit --msg "bumped update to %s" (no-eol)
   165   hg commit --msg "bumped update to %s" (no-eol)
   166   $ hg evolve --any --confirm --phasedivergent
   166   $ hg evolve --any --confirm --phase-divergent
   167   recreate:[12] newer a
   167   recreate:[12] newer a
   168   atop:[8] newer a
   168   atop:[8] newer a
   169   perform evolve? [Ny] n
   169   perform evolve? [Ny] n
   170   abort: evolve aborted by user
   170   abort: evolve aborted by user
   171   [255]
   171   [255]
   172   $ echo y | hg evolve --any --confirm --config ui.interactive=True --phasedivergent
   172   $ echo y | hg evolve --any --confirm --config ui.interactive=True --phase-divergent
   173   recreate:[12] newer a
   173   recreate:[12] newer a
   174   atop:[8] newer a
   174   atop:[8] newer a
   175   perform evolve? [Ny] y
   175   perform evolve? [Ny] y
   176   rebasing to destination parent: 66719795a494
   176   rebasing to destination parent: 66719795a494
   177   computing new diff
   177   computing new diff
   245   o  0:07f494440405@default(public) bk:[] adda
   245   o  0:07f494440405@default(public) bk:[] adda
   246   
   246   
   247 
   247 
   248 Stabilize it
   248 Stabilize it
   249 
   249 
   250   $ hg evolve -qn --confirm --contentdivergent
   250   $ hg evolve -qn --confirm --content-divergent
   251   merge:[19] More addition
   251   merge:[19] More addition
   252   with: [17] More addition
   252   with: [17] More addition
   253   base: [15] More addition
   253   base: [15] More addition
   254   perform evolve? [Ny] n
   254   perform evolve? [Ny] n
   255   abort: evolve aborted by user
   255   abort: evolve aborted by user
   256   [255]
   256   [255]
   257   $ echo y | hg evolve -qn --confirm --config ui.interactive=True --contentdivergent
   257   $ echo y | hg evolve -qn --confirm --config ui.interactive=True --content-divergent
   258   merge:[19] More addition
   258   merge:[19] More addition
   259   with: [17] More addition
   259   with: [17] More addition
   260   base: [15] More addition
   260   base: [15] More addition
   261   perform evolve? [Ny] y
   261   perform evolve? [Ny] y
   262   hg update -c eacc9c8240fe &&
   262   hg update -c eacc9c8240fe &&
   263   hg merge d2f173e25686 &&
   263   hg merge d2f173e25686 &&
   264   hg commit -m "auto merge resolving conflict between eacc9c8240fe and d2f173e25686"&&
   264   hg commit -m "auto merge resolving conflict between eacc9c8240fe and d2f173e25686"&&
   265   hg up -C 3932c176bbaa &&
   265   hg up -C 3932c176bbaa &&
   266   hg revert --all --rev tip &&
   266   hg revert --all --rev tip &&
   267   hg commit -m "`hg log -r eacc9c8240fe --template={desc}`";
   267   hg commit -m "`hg log -r eacc9c8240fe --template={desc}`";
   268   $ hg evolve -v --contentdivergent
   268   $ hg evolve -v --content-divergent
   269   merge:[19] More addition
   269   merge:[19] More addition
   270   with: [17] More addition
   270   with: [17] More addition
   271   base: [15] More addition
   271   base: [15] More addition
   272   merging divergent changeset
   272   merging divergent changeset
   273   resolving manifests
   273   resolving manifests
   342 # reamend so that the case is not the first precursor.
   342 # reamend so that the case is not the first precursor.
   343   $ hg amend -m "More addition (2)"
   343   $ hg amend -m "More addition (2)"
   344   $ hg phase 'contentdivergent()'
   344   $ hg phase 'contentdivergent()'
   345   21: draft
   345   21: draft
   346   24: draft
   346   24: draft
   347   $ hg evolve -qn --contentdivergent
   347   $ hg evolve -qn --content-divergent
   348   hg update -c 0b336205a5d0 &&
   348   hg update -c 0b336205a5d0 &&
   349   hg merge f344982e63c4 &&
   349   hg merge f344982e63c4 &&
   350   hg commit -m "auto merge resolving conflict between 0b336205a5d0 and f344982e63c4"&&
   350   hg commit -m "auto merge resolving conflict between 0b336205a5d0 and f344982e63c4"&&
   351   hg up -C 3932c176bbaa &&
   351   hg up -C 3932c176bbaa &&
   352   hg revert --all --rev tip &&
   352   hg revert --all --rev tip &&
   353   hg commit -m "`hg log -r 0b336205a5d0 --template={desc}`";
   353   hg commit -m "`hg log -r 0b336205a5d0 --template={desc}`";
   354   $ hg evolve --contentdivergent
   354   $ hg evolve --content-divergent
   355   merge:[24] More addition (2)
   355   merge:[24] More addition (2)
   356   with: [21] More addition
   356   with: [21] More addition
   357   base: [15] More addition
   357   base: [15] More addition
   358   merging a
   358   merging a
   359   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
   359   warning: conflicts while merging a! (edit, then use 'hg resolve --mark')