We sometimes missed deps when more than one dep required a stamp check.

If must_build was nonempty when recursively calling isdirty() that
returned a list, we'd lose the original value of must_build.
This commit is contained in:
Alan Falloon 2015-05-06 17:56:14 -04:00 committed by Avery Pennarun
commit 67c1d4f7d8
10 changed files with 47 additions and 5 deletions

View file

@ -200,6 +200,9 @@ class File(object):
else:
return self._init_from_idname(id, name)
def __repr__(self):
return "File(%r)" % (self.nicename(),)
def refresh(self):
self._init_from_idname(self.id, None)