def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def bad(self, f, msg):
        """Callback from dirstate.walk for each explicit file that can't be
        found/accessed, with an error message."""