Mercurial > hg
view tests/test-hgweb-removed @ 11098:380ab78dbd69
workingctx: add explicit status method, add ignored and fix clean
workingctx.clean() and memctx.clean() have both been returning ignored files
since their creation. This patch fixes clean() while introducing a method for
querying ignored files. The new status() method can be used to explicitly
override the default (fast) arguments used by the _status property.
author | Steve Borho <steve@borho.org> |
---|---|
date | Tue, 04 May 2010 14:52:25 -0500 |
parents | cb93eee1fbcd |
children |
line wrap: on
line source
#!/bin/sh 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'