From patchwork Wed May 3 05:39:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: filelog: fix parsemeta docstring From: Jun Wu X-Patchwork-Id: 20395 Message-Id: <5bd87ecd9af71a0d660a.1493789973@x1c> To: Date: Tue, 2 May 2017 22:39:33 -0700 # HG changeset patch # User Jun Wu # Date 1493789954 25200 # Tue May 02 22:39:14 2017 -0700 # Node ID 5bd87ecd9af71a0d660a8496496f3dfb13a17f12 # Parent 5f8450df55625fb0be8e40eacb662717fef33de2 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.org/quark-zju/hg-draft -r 5bd87ecd9af7 filelog: fix parsemeta docstring 75bb7c702317 changed the return type of filelog.parsemeta but forgot to update its docstring. diff --git a/mercurial/filelog.py b/mercurial/filelog.py --- a/mercurial/filelog.py +++ b/mercurial/filelog.py @@ -19,5 +19,5 @@ from . import ( _mdre = re.compile('\1\n') def parsemeta(text): - """return (metadatadict, keylist, metadatasize)""" + """return (metadatadict, metadatasize)""" # text can be buffer, so we can't use .startswith or .index if text[:2] != '\1\n':