# HG changeset patch # User Jun Wu # Date 2017-05-03 05:39:14 # Node ID 8ac7ac714e922fd34abe9f5a16fcf018c8b12abc # Parent 5f53c267e3624a190dcdf11b958eb5e70776bf53 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 @@ -18,7 +18,7 @@ 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': return None, None