tests/test-evolve.t
changeset 1732 f4047fba5e90
parent 1731 7a76f9a43e89
child 1734 14ace97ffed8
equal deleted inserted replaced
1731:7a76f9a43e89 1732:f4047fba5e90
   110   0 - 1f0dee641bb7 add a (public)
   110   0 - 1f0dee641bb7 add a (public)
   111 
   111 
   112 test kill and immutable changeset
   112 test kill and immutable changeset
   113 
   113 
   114   $ hg log -r 1 --template '{rev} {phase} {obsolete}\n'
   114   $ hg log -r 1 --template '{rev} {phase} {obsolete}\n'
   115   1 public stable
   115   1 public 
   116   $ hg prune 1
   116   $ hg prune 1
   117   abort: cannot prune immutable changeset: 7c3bad9141dc
   117   abort: cannot prune immutable changeset: 7c3bad9141dc
   118   (see "hg help phases" for details)
   118   (see "hg help phases" for details)
   119   [255]
   119   [255]
   120   $ hg log -r 1 --template '{rev} {phase} {obsolete}\n'
   120   $ hg log -r 1 --template '{rev} {phase} {obsolete}\n'
   121   1 public stable
   121   1 public 
   122 
   122 
   123 test simple kill
   123 test simple kill
   124 
   124 
   125   $ hg id -n
   125   $ hg id -n
   126   5
   126   5
   692   warning: conflicts while merging 1! (edit, then use 'hg resolve --mark')
   692   warning: conflicts while merging 1! (edit, then use 'hg resolve --mark')
   693   abort: unresolved conflicts, can't continue
   693   abort: unresolved conflicts, can't continue
   694   (use 'hg resolve' and 'hg graft --continue')
   694   (use 'hg resolve' and 'hg graft --continue')
   695   [255]
   695   [255]
   696   $ hg log -r7 --template '{rev}:{node|short} {obsolete}\n'
   696   $ hg log -r7 --template '{rev}:{node|short} {obsolete}\n'
   697   7:a5bfd90a2f29 stable
   697   7:a5bfd90a2f29 
   698   $ echo 3 > 1
   698   $ echo 3 > 1
   699   $ hg resolve -m 1
   699   $ hg resolve -m 1
   700   (no more unresolved files)
   700   (no more unresolved files)
   701   continue: hg graft --continue
   701   continue: hg graft --continue
   702   $ hg graft --continue -O
   702   $ hg graft --continue -O