Skip to content
Snippets Groups Projects
  1. Feb 09, 2019
  2. Feb 08, 2019
  3. Feb 09, 2019
  4. Jan 31, 2019
  5. Feb 07, 2019
  6. Feb 09, 2019
  7. Feb 07, 2019
  8. Jan 21, 2019
  9. Feb 08, 2019
  10. Feb 07, 2019
    • Martin von Zweigbergk's avatar
      diffordiffstat: avoid looking up contexts twice · d683aca738cd
      Martin von Zweigbergk authored
      I'm not worried about performance; this is just simpler.
      
      Differential Revision: https://phab.mercurial-scm.org/D5890
      d683aca738cd
    • Boris Feld's avatar
      fsmonitor: rename new verbose config knob · 286eeed14893
      Boris Feld authored
      The config knob was introduced in this release cycle under the old extension
      name, rename it before it is part of a release.
      
      Differential Revision: https://phab.mercurial-scm.org/D5880
      286eeed14893
    • Matt Harbison's avatar
      tests: stabilize test-extdiff.t on Windows · 67e622ade415
      Matt Harbison authored
      The test harness only wanted to drop the (windows !) lines, which also means the
      actual output matched the (no-windows !) lines.  So drop those annotations too.
      
      I suspect if the output of the affected tests was actually collected on Windows,
      things were quoted because TEMPDIR contained a `~` in MSYS.  Typically that
      happens when the username is 9 (8?) or more characters.  I explicitly set TEMP
      and TMP to something short like "C:\temp" to avoid this, because otherwise there
      are a bunch of failures like this in other tests.
      67e622ade415
    • Matt Harbison's avatar
      lfs: disable all authentication except Basic for HTTP(S) connections · 698667eb7523
      Matt Harbison authored
      I ran into a problem pushing to an old Apache server- the normal outgoing
      traffic occurred, the Batch API request and response occurred, and then things
      suddenly halted.  5 minutes later, a 500 was returned, and the server log had a
      timeout reading 32K from `self._req.bodyfh` in hgweb.request.sendresponse().
      Watching in WireShark, the Batch API got a 401, retried properly, then proceeded
      to PUT the blob (without authentication headers).  This got a 401, but the
      client never retried with authentication.  Worse, the blob was sent over the
      wire in the failed attempt.
      
      This kills digests for both the Batch API and the Transfer API.  While in theory
      we could have the Batch API provide external URLs to a place that supports Basic
      Authentication, the LFS spec actually calls out using Basic Authentication[1].
      It's not clear to me if they've been able to shoehorn in other methods.  But
      let's keep it simple until somebody needs it.
      
      If we only had to support python2, we could just not add the handler for digest
      authentication.  However in python3, AbstractBasicAuthHandler raises ValueError
      if it sees a scheme other than Basic.  So we need to intercept all other schemes
      before it gets to that point.
      
      # no-check-commit because of urllib2.OpenerDirector foo_bar calling conventions
      
      [1] https://github.com/git-lfs/git-lfs/blob/master/docs/api/authentication.md
      698667eb7523
  11. Jan 31, 2019
  12. Feb 05, 2019
Loading