Skip to content
Snippets Groups Projects
  1. Jun 15, 2018
  2. Jun 14, 2018
  3. Jun 13, 2018
  4. May 21, 2018
  5. Jun 06, 2018
  6. May 01, 2018
  7. May 03, 2018
  8. May 01, 2018
  9. Apr 28, 2018
  10. Jun 06, 2018
  11. Jun 02, 2018
  12. Jun 01, 2018
    • Matt Harbison's avatar
      tests: adapt test-check-pylint to run on Windows · 6ae62d62
      Matt Harbison authored
      The line endings are explicitly converted because this was ending up with
      '\r (no-eol) (esc)' lines, in addition to the usual '\r (esc)' lines.  I've seen
      the fakerc output on other recently installed systems though (10.13 and/or
      Fedora 26).  Unfortunately, the output here uses '\\' on Windows, so glob away
      the whole path.
      6ae62d62
    • Matt Harbison's avatar
      hghave: avoid a deadlock reading the child process's output · 6fb76897
      Matt Harbison authored
      The output of `pylint` is voluminous enough that it fills the buffer on Windows,
      and waited for the parent to read it out.  But the parent was waiting on the
      child to exit.
      
      I'm not sure what the intent of setting `ret = -1` in the exception handler just
      above this was...
      6fb76897
  13. May 31, 2018
    • Matt Harbison's avatar
      lfs: bypass wrapped functions when reposetup() hasn't been called (issue5902) · 3790efb3
      Matt Harbison authored
      There are only a handful of methods that access repo attributes that are applied
      in reposetup().  The `diff` test covers all of the commands that call
      scmutil.prefetchfiles().  Along the way, I saw that adding files and upgrading
      the repo format were also problems (also tested here).
      
      I don't think running `hg serve` through the commandserver is sane, but I
      conditionalized both the capabilities and the wsgirequest handler because it's
      trivially correct.  It doesn't look like there has ever been a caller of
      candownload(), so there's no test for that path.
      
      The upload case isn't testable, because uploadblobs() bails if there are no
      pointers.  The requirement should be added any time pointers are introduced, and
      that would force the extension to be loaded specifically for the repo.  This
      covers `debuglfsupload`, the pre-push hook (which isn't set until the repo is
      promoted to LFS), and uploadblobsfromrevs(), which can be called by other
      extensions.
      
      I think readfromstore() and writetostore() are only reachable as a flag
      processor for revlog.REVIDX_EXTSTORED, and a requirement is added as soon as
      that is seen, so I don't think those are a problem.
      3790efb3
  14. May 24, 2018
  15. May 18, 2018
  16. May 23, 2018
  17. May 04, 2018
  18. May 01, 2018
  19. May 21, 2018
  20. May 04, 2018
  21. May 15, 2018
  22. May 12, 2018
  23. May 11, 2018
Loading