Skip to content
Snippets Groups Projects
  1. Jun 25, 2020
  2. Jun 24, 2020
  3. Jun 23, 2020
  4. Jun 17, 2020
  5. Jun 16, 2020
  6. Jun 15, 2020
  7. Jun 06, 2020
    • Anton Shestakov's avatar
      tests: adjust to the new format in pyflakes output · 170f8a43
      Anton Shestakov authored
      According to the pyflakes' NEWS.rst, the default output format changed
      recently:
      
        2.2.0 (2020-04-08)
        - Include column information in error messages
      
      So the lines now read:
      
        contrib/perf.py:149:15 undefined name 'xrange'
        mercurial/hgweb/server.py:427:13 undefined name 'reload'
        mercurial/util.py:2862:24 undefined name 'file'
      
      This is a graft of a similar fix that ended up on default.
      
      Differential Revision: https://phab.mercurial-scm.org/D8630
      170f8a43
    • Anton Shestakov's avatar
      tests: consistently use pyflakes as a Python module · f9099e21
      Anton Shestakov authored
      We check availability of pyflakes as a module, and also running it for real as
      a module. Only fair to test filterpyflakes.py working correctly when using
      pyflakes as a module too.
      
      This is a graft of a similar fix that ended up on default.
      
      Differential Revision: https://phab.mercurial-scm.org/D8629
      f9099e21
    • Anton Shestakov's avatar
      tests: skip pyflakes for mercurial/thirdparty/ · 1ca0d5ca
      Anton Shestakov authored
      The current version of pyflakes (2.2.0) correctly detects one issue:
      
        mercurial/thirdparty/selectors2.py:335:40 '...'.format(...) has unused arguments at position(s): 1
      
      But we're not interested in fixing lint errors in third-party code, so we need
      to exclude at least selectors2.py. And in the discussion for this patch it was
      decided to just skip the entire thirdparty directory.
      
      This is a graft of a similar fix that ended up on default.
      
      Differential Revision: https://phab.mercurial-scm.org/D8628
      1ca0d5ca
  8. Jun 13, 2020
  9. Jun 12, 2020
    • Adam Hull's avatar
      ignore: note debugignore on ignore man page · b77d5b56
      Adam Hull authored
      It took me a long time to find debugignore. I found the ignore man page
      quickly. This change adds a debugging section to the ignore man page
      letting people know there is a debug command.
      b77d5b56
  10. Jun 13, 2020
  11. Jun 09, 2020
  12. Apr 30, 2020
  13. Jun 05, 2020
  14. Jun 02, 2020
    • Yuya Nishihara's avatar
      graft: fix --base value to be saved in state file · 2dc5ae95
      Yuya Nishihara authored
      'True' just works because it is treated as an integer revision '1' and
      only the truthiness of the basectx is important. If multiple source revisions
      were supported with --base, the resumed graft operation would go wrong.
      2dc5ae95
  15. May 16, 2020
  16. May 26, 2020
  17. May 14, 2020
    • Manuel Jacob's avatar
      setup: raise minimum Python version to 2.7.4 · 91e509a1
      Manuel Jacob authored
      On older Python versions, Mercurial is not really usable because of
      https://bugs.python.org/issue10211.
      
      Recently someone reported a crash on the mailing list when running Mercurial
      on Python 2.7.3. There was consensus that fixing compatibility for a Python
      version more than 7 years old is not worth it. So, instead of making Mercurial
      crash with an obscure exception, this patch raises the minimum Python version
      to 2.7.4.
      91e509a1
  18. May 19, 2020
    • Connor Sheehan's avatar
      fsmonitor: coerce `clock` variable to byte-string (issue6321) · 017cc5ee
      Connor Sheehan authored
      Callers of `fsmonitor.state.setlastclock` pass their arguments
      wrapped in `pycompat.sysbytes` to ensure the value is a `bytes`
      on Python 3. However in `fsmonitor.poststatus.__call__`, if the
      return value of `getlastclock()` is `None`, we use the value of
      `fsmonitor.poststatus._startclock` instead, which is not converted
      to a byte string in the same manner. This commit converts the
      value of `startclock` to a byte string using `pycompat.sysbytes`
      in the constructor for `poststatus`, to avoid the "`str` + `bytes`"
      error from issue 6321.
      
      Differential Revision: https://phab.mercurial-scm.org/D8573
      017cc5ee
Loading