[PATCH] manifest: update comment to be about bytearray
Augie Fackler
raf at durin42.com
Mon Apr 3 19:10:44 UTC 2017
On Mon, Apr 03, 2017 at 11:31:29AM -0700, Martin von Zweigbergk via Mercurial-devel wrote:
> # 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
queued, thanks
>
> 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 = []
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list