Mercurial > hg
comparison tests/test-graft.t @ 19476:4fed15d4c5aa stable
commands: add checks for unfinished operations (issue3955)
commands checked:
backout
bisect
commit
graft
import
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 24 Jul 2013 23:51:40 -0500 |
parents | 0af993732f66 |
children | 061ce98c888d |
comparison
equal
deleted
inserted
replaced
19475:e24531a23ae4 | 19476:4fed15d4c5aa |
---|---|
175 [255] | 175 [255] |
176 | 176 |
177 Commit while interrupted should fail: | 177 Commit while interrupted should fail: |
178 | 178 |
179 $ hg ci -m 'commit interrupted graft' | 179 $ hg ci -m 'commit interrupted graft' |
180 abort: cannot commit an interrupted graft operation | 180 abort: graft in progress |
181 (use "hg graft -c" to continue graft) | 181 (use 'hg graft --continue' or 'hg update' to abort) |
182 [255] | 182 [255] |
183 | 183 |
184 Abort the graft and try committing: | 184 Abort the graft and try committing: |
185 | 185 |
186 $ hg up -C . | 186 $ hg up -C . |