• Georges Racinet's avatar
    HgGitRepository#hg_env_for_write: new `force_system_user` flag · f83a51257d2e
    Georges Racinet authored
    This will simplify the work of callers that need to run with
    full administrative permissions and may not have an obvious
    user to choose from (imports, mirroring pulls…):
        hg_env_for_write(nil, force_system_user: true)
    We now explicitely forbid the case where user is `nil`, except
    when `force_system_user` is `true`.
    branch : heptapod