1. 01 Dec, 2020 1 commit
  2. 25 Nov, 2020 1 commit
  3. 24 Nov, 2020 1 commit
  4. 06 Oct, 2020 1 commit
  5. 11 Nov, 2020 1 commit
    • Mathias De Mare's avatar
      packaging: enable rust extensions on centos · eccbfa7e19c0
      Mathias De Mare authored
      Test on CentOS 7, repository with ~170000 tracked files,
          no untracked files:
      10 runs with this enabled:
       -- Run #0 time: 0.6519973278045654
       -- Run #1 time: 0.6933724880218506
       -- Run #2 time: 0.7512078285217285
       -- Run #3 time: 0.7517638206481934
       -- Run #4 time: 0.5966529846191406
       -- Run #5 time: 0.5960886478424072
       -- Run #6 time: 0.5940573215484619
       -- Run #7 time: 0.5963726043701172
       -- Run #8 time: 0.6048009395599365
       -- Run #9 time: 0.603604793548584
      
      10 runs without this enabled:
       -- Run #0 time: 2.127584457397461
       -- Run #1 time: 2.066192865371704
       -- Run #2 time: 2.0831892490386963
       -- Run #3 time: 2.077716588973999
       -- Run #4 time: 2.07608962059021
       -- Run #5 time: 2.072899341583252
       -- Run #6 time: 2.094369888305664
       -- Run #7 time: 2.067504644393921
       -- Run #8 time: 2.069610834121704
       -- Run #9 time: 2.0567898750305176
      
      Differential Revision: https://phab.mercurial-scm.org/D9294
      eccbfa7e19c0
  6. 22 Nov, 2020 1 commit
  7. 21 Nov, 2020 1 commit
    • Matt Harbison's avatar
      setup: copy pythonXY.dll next to the hg.exe wrapper when building · 2960b7fac966
      Matt Harbison authored
      This avoids the problem of having the newly built binary complaining that it
      can't find the DLL.  There is an option in the python.org installer to add the
      python install to PATH (which defaulted to "on" with py2, and therefore was not
      an issue up to this point), but that makes switching between python versions
      harder.
      
      This shouldn't be an issue with the PyOxidizer binary, but that current has
      issues running some of the tests, and took noticeably longer to build last time
      I tried it.
      
      Differential Revision: https://phab.mercurial-scm.org/D9362
      2960b7fac966
  8. 22 Nov, 2020 3 commits
  9. 23 Nov, 2020 1 commit
    • Matt Harbison's avatar
      ui: ensure `getpass()` returns bytes · 87e7dd8e7734
      Matt Harbison authored
      Previously, this could return either bytes or str.  I'm not sure which direction
      we should go in, but since the input is bytes, I guess bytes makes sense as
      output.  `debuguigetpass` crashed because it assumed bytes would be returned,
      `sslcontext.load_cert_chain()` is happy with bytes or str if the type info in
      PyCharm is correct, and `smtplib.SMTP.login()` wants str.
      
      I couldn't figure out how to test this, because the test stalls for input with
      `echo test | hg debuguigetpass --config ui.interactive=1`, likely because it
      drains stdin before prompting.  The custom input reading with `ui.nontty=1` does
      not.
      
      I'm also a bit concerned with all of this encoding/decoding.  The existing code
      in the mail module uses `encoding.strfromlocal()`, but the username and password
      are ascii encoded/decoded in `mercurial.url.passwordmgr.find_user_password()`
      with `pycompat.{str,bytes}url()`.  I'm not sure if this inconsistency could
      cause subtle compatability issues.
      
      Differential Revision: https://phab.mercurial-scm.org/D9375
      87e7dd8e7734
  10. 26 Nov, 2020 4 commits
  11. 24 Nov, 2020 2 commits
  12. 25 Nov, 2020 1 commit
  13. 21 Nov, 2020 1 commit
  14. 20 Nov, 2020 1 commit
  15. 16 Oct, 2020 1 commit
  16. 23 Nov, 2020 1 commit
  17. 24 Nov, 2020 4 commits
  18. 18 Nov, 2020 1 commit
  19. 23 Nov, 2020 11 commits
  20. 22 Nov, 2020 1 commit
  21. 18 Nov, 2020 1 commit
    • Sebastien Boisvert's avatar
      log: add bookmark option to "hg log" · 0aa118f18d4b
      Sebastien Boisvert authored
      Before pushing a bookmark with "hg push origin -B 'my-topic'", it is useful to inspect
      the list of commits that are ancestors of the bookmark.
      
      By relying on scmutil.bookmarkrevs(), "hg log -B topic" has the same bookmark semantics
      found in other commands like hg export, hg email, hg strip.
      
      Differential Revision: https://phab.mercurial-scm.org/D9341
      0aa118f18d4b