##// END OF EJS Templates
Clear contents of global hgrc for tests before running each test....
Clear contents of global hgrc for tests before running each test. This fixes running test-mq-qdiff after test-mq, because of changed settings.

File last commit:

r2714:85070b78 default
r2989:3091b115 default
Show More
test-mq-qnew-twice
15 lines | 225 B | text/plain | TextLexer
/ tests / test-mq-qnew-twice
Vadim Gelfer
mq: do not allow to qnew a patch twice
r2711 #!/bin/sh
HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
echo "[extensions]" >> $HGTMP/.hgrc
echo "mq=" >> $HGTMP/.hgrc
hg init a
cd a
hg qnew first.patch
hg qnew first.patch
touch ../first.patch
hg qimport ../first.patch
Thomas Arendsen Hein
Fix test-mq-qnew-twice exit code and output.
r2714
exit 0