##// END OF EJS Templates
issue1577: fix broken test by assuming less about CVS output....
issue1577: fix broken test by assuming less about CVS output. Specifically, output of "cvs ci" varies unpredictably across CVS versions, so any test that includes the output of "cvs ci" is doomed to fail some of the time. This fixes that by discarding the output of "cvs ci".

File last commit:

r3853:c0b44915 default
r8081:6c3b8132 default
Show More
test-excessive-merge
46 lines | 566 B | text/plain | TextLexer
/ tests / test-excessive-merge
Matt Mackall
Refactor excessive merge detection, add test
r1716 #!/bin/sh
hg init
echo foo > a
echo foo > b
hg add a b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "test" -d "1000000 0"
Matt Mackall
Refactor excessive merge detection, add test
r1716
echo blah > a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "branch a" -d "1000000 0"
Matt Mackall
Refactor excessive merge detection, add test
r1716
hg co 0
echo blah > b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "branch b" -d "1000000 0"
Vadim Gelfer
deprecate 'update -m'. use 'merge' instead.
r2283 HGMERGE=true hg merge 1
Matt Mackall
Refactor excessive merge detection, add test
r1716
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "merge b/a -> blah" -d "1000000 0"
Matt Mackall
Refactor excessive merge detection, add test
r1716
hg co 1
Vadim Gelfer
deprecate 'update -m'. use 'merge' instead.
r2283 HGMERGE=true hg merge 2
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "merge a/b -> blah" -d "1000000 0"
Matt Mackall
Refactor excessive merge detection, add test
r1716
hg log
Benoit Boissinot
switch to the .hg/store layout, fix the tests
r3853 hg debugindex .hg/store/00changelog.i
Matt Mackall
Refactor excessive merge detection, add test
r1716
echo
echo 1
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 1
Matt Mackall
Refactor excessive merge detection, add test
r1716 echo 2
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 2
Matt Mackall
Refactor excessive merge detection, add test
r1716 echo 3
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 3
Matt Mackall
Refactor excessive merge detection, add test
r1716 echo 4
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug 4
Matt Mackall
Refactor excessive merge detection, add test
r1716
echo
Benoit Boissinot
switch to the .hg/store layout, fix the tests
r3853 hg debugindex .hg/store/data/a.i
Matt Mackall
Refactor excessive merge detection, add test
r1716
Vadim Gelfer
deprecate 'update -m'. use 'merge' instead.
r2283 hg verify