##// 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:

r1960:dac4bd67 default
r8081:6c3b8132 default
Show More
test-unrelated-pull
20 lines | 217 B | text/plain | TextLexer
/ tests / test-unrelated-pull
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 #!/bin/sh
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 mkdir a
cd a
hg init
echo 123 > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "a" -u a -d "1000000 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
cd ..
mkdir b
cd b
Thomas Arendsen Hein
Cleanup of tabs and trailing spaces.
r1308 hg init
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 echo 321 > b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "b" -u b -d "1000000 0"
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579
hg pull ../a
Vadim Gelfer
update test for unrelated repo.
r1960 hg pull -f ../a
mpm@selenic.com
Actually warn on pulling from an unrelated repository...
r579 hg heads