mercurial at 52663: 24 new changesets

Mercurial Commits hg at intevation.de
Thu Jan 9 15:15:23 UTC 2025


24 new changesets in mercurial:

https://www.mercurial-scm.org/repo/hg/rev/0e11e532c958
changeset:   52640:0e11e532c958
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 13:29:42 2025 -0500
summary:     style: use `ui.xxxnoi18n()` methods instead of wrapping msg in `()`

https://www.mercurial-scm.org/repo/hg/rev/3b6f25190157
changeset:   52641:3b6f25190157
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 13:54:40 2025 -0500
summary:     check-code: reference the `noi18n` methods in the missing `_()` message

https://www.mercurial-scm.org/repo/hg/rev/dc36535a5edc
changeset:   52642:dc36535a5edc
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 14:07:43 2025 -0500
summary:     style: drop extraneous parentheses

https://www.mercurial-scm.org/repo/hg/rev/9db77d46de79
changeset:   52643:9db77d46de79
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 14:15:40 2025 -0500
summary:     py3: drop redundant `u''` prefixes on string literals

https://www.mercurial-scm.org/repo/hg/rev/24ee91ba9aa8
changeset:   52644:24ee91ba9aa8
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Sun Jan 05 21:03:17 2025 -0500
summary:     pyupgrade: drop usage of py3 aliases for `OSError`

https://www.mercurial-scm.org/repo/hg/rev/9bd6854aab86
changeset:   52645:9bd6854aab86
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Sun Jan 05 22:00:40 2025 -0500
summary:     pyupgrade: convert to new style classes

https://www.mercurial-scm.org/repo/hg/rev/73ab542565e0
changeset:   52646:73ab542565e0
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Sun Jan 05 22:12:02 2025 -0500
summary:     pyupgrade: run the `unpack_list_comprehension` fixer

https://www.mercurial-scm.org/repo/hg/rev/5cc8deb96b48
changeset:   52647:5cc8deb96b48
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Sun Jan 05 22:23:31 2025 -0500
summary:     pyupgrade: modernize calls to superclass methods

https://www.mercurial-scm.org/repo/hg/rev/e627cc25b6f3
changeset:   52648:e627cc25b6f3
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Sun Jan 05 22:26:16 2025 -0500
summary:     pyupgrade: rewrite `yield` statements in a loop to `yield from`

https://www.mercurial-scm.org/repo/hg/rev/4cb75772818d
changeset:   52649:4cb75772818d
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 00:30:55 2025 -0500
summary:     pyupgrade: drop the quoting around type annotations

https://www.mercurial-scm.org/repo/hg/rev/cb769c0ffe35
changeset:   52650:cb769c0ffe35
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 00:38:32 2025 -0500
summary:     pyupgrade: drop a usage of `typing.Text`

https://www.mercurial-scm.org/repo/hg/rev/ab7b4fba8bde
changeset:   52651:ab7b4fba8bde
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:06:59 2025 -0500
summary:     pyupgrade: drop a few redundant types in `isinstance` lists

https://www.mercurial-scm.org/repo/hg/rev/abc327f9628b
changeset:   52652:abc327f9628b
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:12:54 2025 -0500
summary:     pyupgrade: replace unnecessary lambdas in `collections.defaultdict()` calls

https://www.mercurial-scm.org/repo/hg/rev/d903647abbd3
changeset:   52653:d903647abbd3
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:20:01 2025 -0500
summary:     pyupgrade: replace `dict(...)` with dict comprehensions

https://www.mercurial-scm.org/repo/hg/rev/b95b12cb31e2
changeset:   52654:b95b12cb31e2
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:27:42 2025 -0500
summary:     pyupgrade: replace `io.open()` with `open()`

https://www.mercurial-scm.org/repo/hg/rev/f066fc0bdc7a
changeset:   52655:f066fc0bdc7a
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:33:08 2025 -0500
summary:     pyupgrade: use set literals where possible

https://www.mercurial-scm.org/repo/hg/rev/0e713555ecdc
changeset:   52656:0e713555ecdc
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:37:43 2025 -0500
summary:     pyupgrade: rewrite `' '.join(shlex.quote(x) for x in ...)` with `shlex.join()`

https://www.mercurial-scm.org/repo/hg/rev/b3e68fd7864b
changeset:   52657:b3e68fd7864b
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:39:53 2025 -0500
summary:     pyupgrade: primitive types directly where possible

https://www.mercurial-scm.org/repo/hg/rev/f19a3f1437f3
changeset:   52658:f19a3f1437f3
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Tue Jan 07 16:46:21 2025 -0500
summary:     pyupgrade: drop `coding=UTF-8` comments

https://www.mercurial-scm.org/repo/hg/rev/5027ae0d89b3
changeset:   52659:5027ae0d89b3
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Mon Jan 06 01:44:46 2025 -0500
summary:     pyupgrade: convert `str.format()` to f-strings

https://www.mercurial-scm.org/repo/hg/rev/3e84e001b6c1
changeset:   52660:3e84e001b6c1
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Tue Jan 07 17:28:46 2025 -0500
summary:     pyupgrade: drop redundant `open()` modes

https://www.mercurial-scm.org/repo/hg/rev/62546ee1f56b
changeset:   52661:62546ee1f56b
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Tue Jan 07 17:36:13 2025 -0500
summary:     pyupgrade: drop redundant `''.encode("utf-8")`

https://www.mercurial-scm.org/repo/hg/rev/c975e8ec08bb
changeset:   52662:c975e8ec08bb
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Tue Jan 07 17:46:56 2025 -0500
summary:     tests: drop py2 support for `fsmonitor-run-tests.py`

https://www.mercurial-scm.org/repo/hg/rev/70a75d379daf
changeset:   52663:70a75d379daf
tag:         tip
user:        Matt Harbison <matt_harbison at yahoo.com>
date:        Tue Jan 07 17:52:52 2025 -0500
summary:     tests: obfuscate Python version checks to subvert `pyupgrade`

-- 
Repository URL: https://www.mercurial-scm.org/repo/hg


More information about the Mercurial-devel mailing list