[Commented On] D10649: revlog: use an intermediate variable for `data` in `_chunk`
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue May 11 18:20:53 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 27888.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10649?vs=27586&id=27888
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10649/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10649
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
@@ -1810,7 +1810,8 @@
if inline:
chunkstart += (rev + 1) * iosize
chunklength = length(rev)
- ladd(decomp(buffer(data, chunkstart - offset, chunklength)))
+ c = buffer(data, chunkstart - offset, chunklength)
+ ladd(decomp(c))
return l
To: marmoute, indygreg, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210511/698c7abf/attachment-0002.html>
More information about the Mercurial-patches
mailing list