FirstVisibleRevisionBeforeUpdate fixed when changing repository