Skip to content
Snippets Groups Projects
  1. Oct 24, 2024
    • Raphaël Gomès's avatar
      zope-interface: add compatibility with 3.13 compiler attributes · 7862a5ac
      Raphaël Gomès authored
      We could follow-up with an actual vendoring update from the newest version
      of zope-interface in the new cycle since we're dropping 3.7 and down.
      
      However we are also in the process of replacing zope-interface with Protocol, so
      hopefully we can simply drop the zope-interface vendoring.
      7862a5ac
    • Raphaël Gomès's avatar
    • Raphaël Gomès's avatar
      py-3-13: stabilize the docstring output across all supported Python versions · 51057ab0
      Raphaël Gomès authored
      Python 3.13 now trims indents from docstrings at compilation time
      (to save space in .pyc), so all of our helptext is affected.
      The indentation has never served a user-facing purpose and was more here
      because nobody cared enough to remove it: we gain some screen space this way.
      Rather than undo the transformation (which isn't really possible since the
      transform also deletes leading/trailing whitespace), we align the behavior
      of older Python versions with that of 3.13.
      
      Unfortunately, this means breaking some of the translations. I've only
      touched the ones that need to work for some tooling tests to pass, but
      I do not have the time to fix the rest of them across all languages, since
      they cannot be done in an automated way. i18n updates have been basically
      abandonned for a good while now, hopefully someone cares enough to bring them
      back.
      51057ab0
    • Raphaël Gomès's avatar
      test-lfs-serve-access: vastly simplify the error output check · 888e00b2
      Raphaël Gomès authored
      The traceback differences between all supported Python versions is about to
      become insane to handle, so let's check what we're actually looking to check.
      888e00b2
  2. Mar 31, 2024
    • Felipe Resende's avatar
      subrepo: propagate non-default path on outgoing · fb15ba66
      Felipe Resende authored
      There was already a fix made in 5dbff89cf107 for pull and push commands. I did
      the same for the outgoing command.
      
      The problem I identified is that when the parent repository has multiple paths,
      the outgoing command was not respecting the parent path used and was always
      using the default path for subrepositories.
      fb15ba66
  3. Oct 24, 2024
  4. Jun 11, 2024
  5. Oct 23, 2024
  6. Oct 16, 2024
  7. Oct 14, 2024
  8. Oct 15, 2024
  9. Oct 07, 2024
    • kiilerix's avatar
      hgdemandimport: add collections.abc to the ignore list because Python 3.13 rc3 · 141ed0bf
      kiilerix authored
      It worked in Python 3.13 rc2, but something changed for rc3.
      
      Now, when i18n.py imports typing and it touches collections.abc.Hashable , we
      get:
      
        ValueError: module object for collections.abc substituted in sys.modules during a lazy load
      
      This seems to be a general problem, released in the final Python 3.13 . I have
      not analyzed the problem in details.
      
      We *could* work around the problem by disabling demand import of typing. But
      that would effectively disable demand import of collections.abc too. Instead,
      just disable demand import for collections.abc .
      141ed0bf
  10. Oct 08, 2024
  11. Sep 27, 2024
  12. Sep 17, 2024
  13. Sep 11, 2024
  14. Sep 10, 2024
  15. Sep 05, 2024
  16. Aug 07, 2024
    • Manuel Jacob's avatar
      merge: sort filemap only if requested by the caller · 23116aef
      Manuel Jacob authored
      The name `sorted` refers to a built-in function, which is always true, so the else branch of this if statement was dead code.
      
      Because, with this fix, the function can iterate over the dict items while yielding values, the dict should not change size while the generator is running. Because of that, it is required to re-introduce code that makes a caller copy the filemap before modification, which was removed in 3c783ff08d40 (that changeset also introduced the filemap() method including the bug that’s being fixed by this changeset).
      23116aef
  17. Aug 09, 2024
  18. Aug 08, 2024
    • Anton Shestakov's avatar
      histedit: create state and acquire locks earlier · 73476a9e
      Anton Shestakov authored
      This makes chistedit (histedit with curses UI) not write any files inside repo
      without wlock. It also makes sense to wrap the entire process of preparing
      commands inside the curses UI inside locks because we don't want anything else
      to touch wdir or repo during this time.
      73476a9e
  19. Aug 06, 2024
  20. Aug 05, 2024
  21. Aug 01, 2024
Loading