[Updated] D12301: windows: remove conditional for Python 3
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Mar 3 16:55:27 UTC 2022
Closed by commit rHGa98e32e5fca1: windows: remove conditional for Python 3 (authored by indygreg).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D12301?vs=32426&id=32514
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D12301/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D12301
AFFECTED FILES
mercurial/windows.py
CHANGE DETAILS
diff --git a/mercurial/windows.py b/mercurial/windows.py
--- a/mercurial/windows.py
+++ b/mercurial/windows.py
@@ -162,8 +162,7 @@
# PyFile_FromFd() ignores the name, and seems to report fp.name as the
# underlying file descriptor.
- if pycompat.ispy3:
- fp = fdproxy(name, fp)
+ fp = fdproxy(name, fp)
# The position when opening in append mode is implementation defined, so
# make it consistent with other platforms, which position at EOF.
To: indygreg, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220303/a9757e37/attachment-0002.html>
More information about the Mercurial-patches
mailing list