##// 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
#!/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
exit 0