Add mark and revnum types
Skip nodes with unknown branch