Skip to content

HgExtractor: improve error reporting

Edward Cree requested to merge ecree/reposurgeon:errrep into master

When a command fails, log the command output / stderr, as that usually indicates why it failed; and shellquote the command line rather than printing out an ugly repr of a slice.

[ Is there some kind of cunning way to reference the shellquote import in extractor.go from hgclient.go, rather than repeating the URL and thus having two points of truth? ]

Merge request reports