##// END OF EJS Templates
fix traceback in hgweb when URL doesn't end in one of the archive specs...
fix traceback in hgweb when URL doesn't end in one of the archive specs If the last n charecters of the URL doesn't match an entry in archive_specs req.form never has a key 'type'. When achive() looks up 'type' in the form dict it causes a traceback rather than printing an error message.

File last commit:

r6360:95413879 default
r6669:782dbbdf default
Show More
test-mq-symlinks
25 lines | 331 B | text/plain | TextLexer
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157 #!/bin/sh
Patrick Mezard
test-mq-symlinks: skip if symlinks are not supported
r6360 "$TESTDIR/hghave" symlink || exit 80
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157 echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH
hg init
hg qinit
hg qnew base.patch
echo a > a
echo b > b
hg add a b
hg qrefresh
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py a
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157
hg qnew symlink.patch
rm a
ln -s b a
hg qrefresh --git
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py a
Bryan O'Sullivan
mq: teach qpop about symlinks
r5157
hg qpop
hg qpush
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 $TESTDIR/readlink.py a