bug-1109799: Initial hgtool port. Not yet a package.

Signed-off-by: Simarpreet Singh <simar@linux.com>