[Updated] D10874: revlog: fix a typo closing the wrong file

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Tue Jun 15 18:56:39 UTC 2021


Closed by commit rHG5e44936b82be: revlog: fix a typo closing the wrong file (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10874?vs=28557&id=28584

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10874/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D10874

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -2243,7 +2243,7 @@
                 if dfh is not None:
                     dfh.close()
                 if sdfh is not None:
-                    dfh.close()
+                    sdfh.close()
                 # closing the index file last to avoid exposing referent to
                 # potential unflushed data content.
                 if ifh is not None:



To: mharbison72, indygreg, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210615/d889c1b1/attachment-0002.html>


More information about the Mercurial-patches mailing list