Mercurial > public > mercurial-scm > hg
changeset 52382:ea79fa8a36ae
transplant: stop using the `pycompat.open()` shim
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 05 Dec 2024 12:40:16 -0500 |
parents | d98b56a1d41c |
children | 51df2bf7c40b |
files | hgext/transplant.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/transplant.py Wed Dec 04 22:16:57 2024 -0500 +++ b/hgext/transplant.py Thu Dec 05 12:40:16 2024 -0500 @@ -19,7 +19,6 @@ import os from mercurial.i18n import _ -from mercurial.pycompat import open from mercurial.node import ( bin, hex, @@ -319,7 +318,7 @@ errprefix=_(b'filter failed'), blockedtag=b'transplant_filter', ) - user, date, msg = self.parselog(open(headerfile, b'rb'))[1:4] + user, date, msg = self.parselog(open(headerfile, 'rb'))[1:4] finally: os.unlink(headerfile)