Add prompt support for Hg