Mercurial > hg
comparison tests/test-strip.t @ 42532:12243f15d53e
statecheck: added support for STATES
This removes `STATES` from `state.py` and adds support to
`statecheck` class to handle its features.
`getrepostate()` function is modified accordingly.
This adds a method 'cmdutil.addunfinished()' for appending to
the unfinishedstate list so as to keep 'merge' and 'bisect' at the last.
This also makes two separate message formats for `checkunfinished()` and
`getrepostate()` as there were previously present.
Results of test changed are shown.
Differential Revision: https://phab.mercurial-scm.org/D6503
author | Taapas Agrawal <taapas2897@gmail.com> |
---|---|
date | Sun, 09 Jun 2019 02:12:58 +0530 |
parents | 1474f5d84662 |
children | c7d236b55a3e |
comparison
equal
deleted
inserted
replaced
42531:5bddd2244814 | 42532:12243f15d53e |
---|---|
273 summary: c | 273 summary: c |
274 | 274 |
275 ##strip not allowed with merge in progress | 275 ##strip not allowed with merge in progress |
276 $ hg strip 4 | 276 $ hg strip 4 |
277 abort: outstanding uncommitted merge | 277 abort: outstanding uncommitted merge |
278 (use 'hg commit' or 'hg merge --abort') | |
278 [255] | 279 [255] |
279 ##strip allowed --force with merge in progress | 280 ##strip allowed --force with merge in progress |
280 $ hg strip 4 --force | 281 $ hg strip 4 --force |
281 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 282 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
282 saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob) | 283 saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob) |