##// END OF EJS Templates
localrepo: change aftertrans to be independant of the store path
localrepo: change aftertrans to be independant of the store path

File last commit:

r2990:61fcd9fa default
r3790:f183c185 default
Show More
test-abort-checkin
21 lines | 369 B | text/plain | TextLexer
/ tests / test-abort-checkin
Thomas Arendsen Hein
Add test mq keeping a reference to localrepo which can't remove journal on exit.
r2726 #!/bin/sh
Thomas Arendsen Hein
Make tests append settings to $HGRCPATH instead of $HGTMP/.hgrc...
r2990 echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH
Danek Duvall
Fix some tests for portability.
r2843 cat > $HGTMP/false <<EOF
#!/bin/sh
exit 1
EOF
chmod +x $HGTMP/false
Thomas Arendsen Hein
Add test mq keeping a reference to localrepo which can't remove journal on exit.
r2726
hg init foo
cd foo
echo foo > foo
hg add foo
# mq may keep a reference to the repository so __del__ will not be called
# and .hg/journal.dirstate will not be deleted:
Danek Duvall
Fix some tests for portability.
r2843 HGEDITOR=$HGTMP/false hg ci
HGEDITOR=$HGTMP/false hg ci
Thomas Arendsen Hein
Add test mq keeping a reference to localrepo which can't remove journal on exit.
r2726
exit 0