Remember path to 'hg' executable and pass to external tools and hooks as $HG.
abort: repository a not found!255abort: error: Connection refused255abort: repository a not found!255abort: destination '../a' already exists255abort: repository a not found!255destination directory: qabort: destination 'q' already exists