introduce method for getting revision ID out of revision ID from HistoryEntry suitable for annotate
fixes #722