Tidy formatting of revision range
extract wanted data from commit in one go