Faheem Mitha wrote: > "Commit failed An attempt to commit /etc changes to hg failed. You > may manually resolve the issues with the uncommitted changes before > continuing." > Assuming hg's error codes when called by etckeeper are the same as > when called normally from the shell, I can only conclude that > etckeeper is using some criterion other than a non-zero hg exit code > to decide that the commit failed.
No, etckeeper only looks at the exit status. You should be able to reproduce the nonzero exit status by running `etckeeper commit` (passing it some, possibly multiline commit message). It is impossible to see that message unless `etckeeper commit` returns nonzero, and that in turn is impossible unless one of the commands it runs, like `hg commit $HG_COMMIT_OPTIONS -l "$logfile"` returns nonzero. -- see shy jo
signature.asc
Description: Digital signature