revision.c: add BOTTOM flag for commits