[PATCH] manifest: update comment to be about bytearray

Martin von Zweigbergk martinvonz at google.com
Mon Apr 3 18:31:29 UTC 2017


# HG changeset patch
# User Martin von Zweigbergk <martinvonz at google.com>
# Date 1491234324 25200
#      Mon Apr 03 08:45:24 2017 -0700
# Node ID 546662e773f801e6ab3eab7feb5c3ca03097bcbe
# Parent  ac69675fff1caacf143ab7f0bda668e6e325670a
manifest: update comment to be about bytearray

Looks like a leftover from 2a18e9e6ca43 (py3: use bytearray() instead
of array('c', ...) constructions, 2017-03-12).

diff -r ac69675fff1c -r 546662e773f8 mercurial/manifest.py
--- a/mercurial/manifest.py	Wed Mar 29 21:43:38 2017 +0900
+++ b/mercurial/manifest.py	Mon Apr 03 08:45:24 2017 -0700
@@ -591,7 +591,7 @@
             return self._lm.text()
 
     def fastdelta(self, base, changes):
-        """Given a base manifest text as an array.array and a list of changes
+        """Given a base manifest text as a bytearray and a list of changes
         relative to that text, compute a delta that can be used by revlog.
         """
         delta = []


More information about the Mercurial-devel mailing list