This instance will be upgraded to Heptapod 0.21.0rc2 on 2021-04-16 at 14:00 UTC+2 (a few minutes of down time)

  1. 21 Jul, 2020 1 commit
    • muxator's avatar
      cmdcore: override user aliases on hg log · f9676491ecc7
      muxator authored
      If a user aliased "hg log" to "hg log --graph" (apparently this is widespread,
      see [0]), the filter toolbar (CTRL+S), is no longer usable.
      
      The reason is that, under the hood, the filter toolbar parses the textual output
      of hg log, which would now be modified by the aliasing [1].
      
      This change undoes any aliasing of hg log, which reverts back to a well-defined
      format, ensuring the parsing always succeeds.
      
      The fix comes from a suggestion by Yuya:
      https://groups.google.com/forum/#!msg/thg-dev/CTS0X7KYH_8/Qrz1e-gFAgAJ
      
      [0] https://www.mercurial-scm.org/repo/hg/rev/604c086ddde6f40309c03ae7e5050c7c8d87e75a
      [1] For example, looking for head() in the filter toolbar caused this error:
              Traceback (most recent call last):
                  File "<base>/tortoisehg/hgqt/repomodel.py",
                  line 350, in _onQueryFinished
                      revs = pycompat.maplist(int, bytes(sess.readAll()).splitlines())
                  ValueError: invalid literal for int() with base 10: 'o 19186'
      
           Where the 'o' comes from the graphlog.
      f9676491ecc7
  2. 14 May, 2020 1 commit
  3. 09 Dec, 2019 1 commit
  4. 07 Dec, 2019 1 commit
  5. 30 Nov, 2019 1 commit
  6. 08 Sep, 2019 1 commit
    • kiilerix's avatar
      py3: fix cmdcore · 8dc392be5a9b
      kiilerix authored
      Only use unicode on the API towards UI: for msg and label in outputReceived,
      for setPrompt, and in ProgressMessaage Qt signals. Everything else is low level
      and use byte strings.
      8dc392be5a9b
  7. 29 Aug, 2019 1 commit
  8. 28 Aug, 2019 1 commit
  9. 27 Aug, 2019 1 commit
  10. 25 Aug, 2019 1 commit
    • kiilerix's avatar
      assert: try to show some relevant value when an assert fails · 54976f208547
      kiilerix authored
      Debugging and print statements can tell more about failing asserts, but it is
      nice to get *some* information up front, also to make it easier to reproduce.
      
      General guidelines:
      
      Try to avoid anything that must compute something and thus can fail - try to
      just inspect local variables (or whatever assert looked at).
      
      For type related asserts, try to add repr().
      
      Sometimes, multiple variables are relevant - in that case use tuples.
      54976f208547
  11. 23 Aug, 2019 1 commit
    • Matt Harbison's avatar
      configitems: drop the default parameters for registered items · 2cd812a72398
      Matt Harbison authored
      A couple of notable things:
      
        - `tortoisehg.autoresolve` still gets a default value in backout and rebase,
          even though it is not registered dynamicdefault.
      
        - the following were left with '' as the default, because it is used to set
          text with a QString, and it is unknown how far back None would be accepted.
          (Any other '' -> None conversions are not used to set text)
      
          * email.cc
          * email.to
          * gpg.key
          * hostfingerprints.*  (strange the default here is a list)
      
        - `tortoisehg.overlayicons` in nautilus-thg needs to be registered, as does
          `debug.delaylock`.
      
        - `web.name` still takes a default because it is dynamicdefault
      2cd812a72398
  12. 18 Aug, 2019 2 commits
  13. 19 May, 2019 1 commit
    • Matt Harbison's avatar
      py3: migrate unicode() to pycompat.unicode() · 6a0080d4e5a5
      Matt Harbison authored
      Fixed up after running `2to3 -w -n -f unicode .`, and re-adding the dropped u''
      prefixes.  The pycompat.unicode() hack is copied into setup.py because that
      module declares the dependency on mercurial.
      6a0080d4e5a5
  14. 23 Mar, 2019 1 commit
  15. 24 Mar, 2019 1 commit
  16. 23 Mar, 2019 1 commit
  17. 13 Jan, 2019 1 commit
  18. 26 Oct, 2017 1 commit
  19. 04 Aug, 2017 1 commit
    • Yuya Nishihara's avatar
      cmdcore: relax the default IPC timeout (refs #3947) · e17b48c98248
      Yuya Nishihara authored
      It was set to 5sec at ac9541282dbc so corruption on IPC channel could be
      detected instantly. Since then, the command server got better to protect
      its IPC channels from being damaged by extensions or hooks. So, this patch
      relaxes the timeout in case the command-server process is actually stalled
      over 5sec.
      
      --HG--
      branch : stable
      e17b48c98248
  20. 22 Jul, 2017 1 commit
  21. 25 Jan, 2017 1 commit
    • Andrey Yamnikov's avatar
      cmdcore: fix PYTHONPATH to not include '' · 64cd46deba83
      Andrey Yamnikov authored
      PYTHONPATH could obtain here a strange value with colon at the end
      (like "/prog/root:"). It could lead to ImportError for Python repos if they
      contain files with names that match with standard Python modules,
      e.g. "types.py" or "time.py".
      
      --HG--
      branch : stable
      64cd46deba83
  22. 25 Sep, 2016 1 commit
  23. 30 Apr, 2015 1 commit
  24. 24 Feb, 2015 1 commit
  25. 16 Feb, 2015 2 commits
  26. 14 Feb, 2015 1 commit
  27. 07 Feb, 2015 1 commit
  28. 08 Feb, 2015 3 commits
  29. 28 Jan, 2015 1 commit
  30. 31 Oct, 2014 1 commit
  31. 07 Mar, 2015 1 commit
  32. 21 Sep, 2014 4 commits
  33. 13 Aug, 2014 1 commit
    • Yuya Nishihara's avatar
      cmdcore: allow to change output device of null command session (fixes #3864) · 21e3fd60af1a
      Yuya Nishihara authored
      Since null session is used as a drop-in replacement for real command, it should
      accept setup requests with no error.
      
      Because of this change, the output device of finished session may be changed.
      So uihandler should be created per session as it is now.  This patch also adds
      a note for future reference.
      
      --HG--
      branch : stable
      21e3fd60af1a