##// END OF EJS Templates
Add a features list to branches.cache to detect caches of old hg versions....
Add a features list to branches.cache to detect caches of old hg versions. The leading space in the written file makes sure that the feature list never can match an existing version, even if the first feature can be read as hex. Additionally old hg versions display the id with --debug, too.

File last commit:

r4140:193e0f8d default
r4168:bbfe5a3f 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