'Remove any pre-existing database. Do not call in dry-run mode.'

def purge(self):

    try:
        os.unlink(self.filename)
    except OSError as e:
        self.ui.debug('', ('could    not    remove    file    %s:    %s' % (self.filename, e)))
