If a checksummed file is deleted, we should still use redo-oob.

We were giving up and rebuilding the toplevel object, which did eventually
rebuild our checksummed file, but then the file turned out to be identical
to what it was before, so that nobody *else* who depended on it ended up
getting rebuilt.  So the results were indeterminate.

Now we treat it as if its dirtiness is unknown, so we build it using
redo-oob before building any of its dependencies.
This commit is contained in:
Avery Pennarun 2010-12-11 05:43:02 -08:00
commit e7f7119f2e
5 changed files with 35 additions and 6 deletions

3
t/stamp/usestamp2.do Normal file
View file

@ -0,0 +1,3 @@
redo-ifchange stampy
echo 2 $$ >>usestamp2.log
cat stampy