switch to revision correctly

when switching to a rev you need to name a new branch so we name the
branch the same name as the revision.