Skip to content
  • Georges Racinet's avatar
    HgGitRepository: new `hg_preserve_line_endings` option in file actions · 2a72da81467c
    Georges Racinet authored
    When this obviously mercurial-specific option is present in the
    `update` file action, line endings are preserved with
    
    - normalisation to Unix style if previous content is inconsistent
    - normalisation to Unix style if previous content had no line endings
    
    This is controlled by an option, because we definetely don't want
    all calls (in particular from the remote APIs) to suddenly start changing
    end of lines: our goal is to catch changes made from the Web UIs,
    because they tend to [change ends of lines](#445) if nothing is
    done.
    2a72da81467c