change revision sha to short