• Georges Racinet's avatar
    HgGitRepository: make get_hg_heptapod_config work if empty · e70d3a5eb8d7
    Georges Racinet authored
    Because `hg config SECTION` exits with code 1 if no matching
    setting have been found, we previously had an error if this
    method (and the corresponding API endpoint) was called before
    any local setting is set in the `[heptapod]` section.
    
    This can be considered part of #299, too
    
    Also fixed the exception raising, Ruby has its quirks, not the
    same as Python's.
    
    --HG--
    branch : heptapod-stable
    e70d3a5eb8d7