##// END OF EJS Templates
Add test mq keeping a reference to localrepo which can't remove journal on exit.
Thomas Arendsen Hein -
r2726:6bd35119 default
parent child Browse files
Show More
@@ -0,0 +1,17
1 #!/bin/sh
2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "mq=" >> $HGTMP/.hgrc
6
7 hg init foo
8 cd foo
9 echo foo > foo
10 hg add foo
11
12 # mq may keep a reference to the repository so __del__ will not be called
13 # and .hg/journal.dirstate will not be deleted:
14 HGEDITOR=false hg ci
15 HGEDITOR=false hg ci
16
17 exit 0
@@ -0,0 +1,6
1 abort: edit failed: false exited with status 1
2 transaction abort!
3 rollback completed
4 abort: edit failed: false exited with status 1
5 transaction abort!
6 rollback completed
General Comments 0
You need to be logged in to leave comments. Login now