##// END OF EJS Templates
ui: refactor option setting...
ui: refactor option setting No more passing options as constructor keywords. Basic options are now always stored in the overlay for simplicity and consistency.

File last commit:

r7183:099b4f9b default
r8136:6b5522cb default
Show More
test-hgweb-removed
17 lines | 377 B | text/plain | TextLexer
/ tests / test-hgweb-removed
Dirkjan Ochtman
hgweb: working diff for removed files
r7183 echo % setting up repo
hg init test
cd test
echo a > a
hg ci -Ama
hg rm a
hg ci -mdel
echo % set up hgweb
hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
cat hg.pid >> $DAEMON_PIDS
echo % revision
"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip'
echo % diff removed file
"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'