1. 28 Apr, 2021 9 commits
  2. 27 Apr, 2021 7 commits
  3. 24 Apr, 2021 2 commits
  4. 22 Apr, 2021 8 commits
  5. 15 Apr, 2021 9 commits
  6. 14 Apr, 2021 5 commits
    • Georges Racinet's avatar
      API Censor: catch HgError and return a nicer message · bd5d3e042f2a
      Georges Racinet authored
      This avoids a lengthy traceback, yet unfortunately is not
      able to give more details about the actual error. In the
      RSpec test, we use a tombstone too long to trigger it.
      
      Also fixing the error rendering for non Mercurial projects.
      
      --HG--
      branch : heptapod-stable
      bd5d3e042f2a
    • Georges Racinet's avatar
      RSpec API censor: making non-UTF8 test pass · 0471073b188e
      Georges Racinet authored
      The remaining problem was the size of the *whole*
      replacement data, which is tombstone + 15, hence the
      data to censor has to be more than 15 bytes.
      
      --HG--
      branch : heptapod-stable
      0471073b188e
    • Georges Racinet's avatar
      RSpec API censor: file with name really \xe9 · 02e996c635c3
      Georges Racinet authored
      With an encoding specification, the lower layers were
      happy to convert to the default FS encoding, which is
      UTF-8 in most cases, of course.
      
      This could serve as an example for similar tests.
      
      --HG--
      branch : heptapod-stable
      02e996c635c3
    • Georges Racinet's avatar
      RSpec API hg_censor: avoid repo reuse · c94d4ae8a191
      Georges Racinet authored
      with `let_it_be` the repo would be reused, which is harmful
      in this case. Of course the end result is very slow, but that's
      mostly the best we can do right now.
      
      --HG--
      branch : heptapod-stable
      c94d4ae8a191
    • Georges Racinet's avatar
      HgGitRepository#multi_action: fix for non-UTF8 file paths · 3d0574635569
      Georges Racinet authored
      Logging directly with `#{filepath}` gives a JSON encoding
      error, adding rspec dumps as a Ruby litteral and always work.
      
      I could confirm that it was all that was needed to
      commit a file with non-UTF8 file name.
      
      Also taking care of branch names, yet not sure in that case what
      is really possible.
      
      --HG--
      branch : heptapod-stable
      3d0574635569