show the new revision instead of undefined on revert
show the new revision instead of undefined on revert

this was caused because the result of the commit operation was being overwritten
by the checkout operation for some reason

Signed-off-by: Sam Phippen <e5a09176608998a68778e11d5021c871e8fae93c@googlemail.com>

jmorse/cyanide,jmorse/cyanide,jmorse/cyanide,jmorse/cyanide