indygreg created this revision.
Herald added a reviewer: martinvonz.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
pycompat.itervalues(x) just calls x.values(). So this is equivalent.
The rewrite was perfomed via an automated search
indygreg created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: martinvonz.
Herald added subscribers: mercurial-patches, Kwan.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The inheritance from object is implied in Python 3. So this should
be equivalent.
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We no longer support Python 2.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12353
AFFECTED FILES
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
The Python 3 implementation is a no-op. So this is equivalent.
We still keep util.iterfile() around for backwards API compatibility to
help the Python 3
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
In Python 3, `class foo:` is equivalent to `class foo(object):`. So
we can allow the former form now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12350
AFFECTED FILES
tests/test-mq-missingfiles.t
tests/test-mq-qimport.t
indygreg created this revision.
Herald added subscribers: mercurial-patches, Kwan.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
pycompat.unicode is an alias to str.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12340
AFFECTED FILES
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We require Python 3 now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12349
AFFECTED FILES
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12348
AFFECTED FILES
mercurial/utils/cborutil.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
The workaround for Python 2 is no longer needed. So we can delete some
code.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Always true since we require Python 3 now.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12345
AFFECTED FILES
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12342
AFFECTED FILES
mercurial/url.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12344
AFFECTED FILES
mercurial/policy.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12343
AFFECTED FILES
mercurial/lsprof.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
pycompat.long is aliased to int. So this should have no change in
functionality.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
pycompat.rawinput() is an alias to input()
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12339
AFFECTED FILES
# HG changeset patch
# User Yuya Nishihara
# Date 1646357326 -32400
# Fri Mar 04 10:28:46 2022 +0900
# Node ID 3a9729bead90ef7caaf4d25138680c83a888be78
# Parent 46b3ecfb16e2781ede9752d972dc22f0e1dfea87
chgserver: remove Python 2 file descriptor logic
Follows up 0bb28b7736bc "chgserver:
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
pytype is complaining that the argument to `pickle.load()` is not an
`IO`. pytype isn't wrong: `_blockingreader` doesn't implement
`io.RawIOBase`, only
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12333
AFFECTED FILES
mercurial/revlog.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12335
AFFECTED FILES
mercurial/templatekw.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12336
AFFECTED FILES
mercurial/verify.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12332
AFFECTED FILES
mercurial/merge.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12334
AFFECTED FILES
mercurial/templatefuncs.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12330
AFFECTED FILES
mercurial/localrepo.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12326
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12331
AFFECTED FILES
mercurial/manifest.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12328
AFFECTED FILES
mercurial/help.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12329
AFFECTED FILES
mercurial/keepalive.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12327
AFFECTED FILES
mercurial/dirstate.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12324
AFFECTED FILES
mercurial/commands.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12325
AFFECTED FILES
mercurial/config.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12323
AFFECTED FILES
hgext/remotefilelog/shallowutil.py
CHANGE DETAILS
diff
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12320
AFFECTED FILES
hgext/infinitepush/__init__.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12322
AFFECTED FILES
hgext/lfs/__init__.py
hgext/lfs/pointer.py
CHANGE DETAILS
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12321
AFFECTED FILES
hgext/largefiles/remotestore.py
CHANGE DETAILS
diff --git
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12319
AFFECTED FILES
hgext/convert/cvs.py
hgext/convert/hg.py
CHANGE DETAILS
Pipeline #45949 has failed!
Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default (
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )
Commit: a843f4cd (
SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This switches to using `HashMap` from the hashbrown crate,
in order to use its `raw_entry_mut` method.
The standard library’s `HashMap` is also based on
70 new changesets in mercurial:
https://www.mercurial-scm.org/repo/hg/rev/649ff7f86f96
changeset: 48842:649ff7f86f96
user:Simon Sapin
date:Thu Mar 03 07:53:11 2022 +0100
summary: rust: enable Python 3 support unconditionally
Pipeline #45949 has failed!
Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/default (
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default )
Commit: a843f4cd (
19 new changesets in mercurial:
https://www.mercurial-scm.org/repo/hg/rev/9af9e2d54857
changeset: 48823:9af9e2d54857
user:Augie Fackler
date:Wed Mar 02 10:04:04 2022 -0500
summary: setup: drop statement of support for Python before 3.5.3
Thanks for keeping an eye out.
I've triggered the Windows CI on Heptapod, it should tell us if there is
an issue.
On 3/3/22 03:37, Yuya Nishihara wrote:
# HG changeset patch
# User Yuya Nishihara
# Date 1646268321 -32400
# Thu Mar 03 09:45:21 2022 +0900
# Node ID
42 matches
Mail list logo