bundle: properly clear all revision flags