Skip to content
Snippets Groups Projects
  1. Jun 06, 2020
    • 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
  2. Jun 13, 2020
  3. 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
  4. Jun 13, 2020
  5. Jun 09, 2020
  6. Apr 30, 2020
  7. Jun 05, 2020
  8. 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
  9. May 16, 2020
  10. May 26, 2020
  11. 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
  12. 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
  13. May 15, 2020
  14. May 18, 2020
  15. May 11, 2020
  16. May 14, 2020
  17. May 12, 2020
  18. May 11, 2020
  19. May 07, 2020
    • Jörg Sonnenberger's avatar
      tests: fix timer scaling in wait-on-file · 9d7d5377
      Jörg Sonnenberger authored
      When using the default test timeouts, wait-on-file would not wait for $n
      seconds, but $n/100 seconds. This resulted in easy timeouts on even
      moderately busy fast machines. Fix the scaling to apply in all cases.
      Adjust the stepping slightly to be nicer to systems with the historic
      100Hz time base to ensure that the scheduler actually switches to a
      different process and gives them time to work.
      
      Differential Revision: https://phab.mercurial-scm.org/D8505
      9d7d5377
  20. May 09, 2020
    • Pierre-Yves David's avatar
      manifest-cache: ignore IOError while writing · 35bb6742
      Pierre-Yves David authored
      If the wcache directory is non writable for some reason (eg: belong to root).
      Trying to write to it currently crash Mercurial. Instead we ignore the error and
      skip writing that cache.
      
      We should probably improve the user experience of multiple users interacting
      with the same repository. However this is not an adventure for stable.
      
      Differential Revision: https://phab.mercurial-scm.org/D8512
      35bb6742
  21. May 06, 2020
  22. May 07, 2020
  23. Apr 26, 2020
Loading