tests/test-rebase-abort.out
author Brodie Rao <brodie@bitheap.org>
Wed, 22 Sep 2010 16:05:59 -0500
changeset 12373 58885f00b998
parent 11316 7fa3968004c1
permissions -rw-r--r--
tests: don't match blank output lines as regexes in unified tests Currently, the following unified test will pass: $ echo foo A blank output line (a line containing just two spaces) will match any output. The patch modifies the unified test runner to ignore empty strings strings when do regular expression matching.


@  4: L2
|
o  3: L1
|
| o  2: C3
|/
o  1: C2
|
o  0: C1


% Conflicting rebase
warning: conflicts during merge.
merging common failed!
abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
merging common

% Abort
saved backup bundle to 
rebase aborted
@  4: L2
|
o  3: L1
|
| o  2: C3
|/
o  1: C2
|
o  0: C1


% Rebase and abort without generating new changesets

@  4:C1
|
o  3:B bis
|
| o  2:C
| |
| o  1:B
|/
o  0:A

warning: conflicts during merge.
merging c failed!
abort: fix unresolved conflicts with hg resolve then run hg rebase --continue
merging c
@  4:C1
|
o  3:B bis
|
| @  2:C
| |
| o  1:B
|/
o  0:A

rebase aborted
@  4:C1
|
o  3:B bis
|
| o  2:C
| |
| o  1:B
|/
o  0:A