Fixed issue #1679: Reset dialog pick another revision has no effect

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Disable mixed and hard reset if operating on a bare repository

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>