[PATCH] filelog: fix parsemeta docstring

Jun Wu quark at fb.com
Wed May 3 01:39:33 EDT 2017


# HG changeset patch
# User Jun Wu <quark at fb.com>
# 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':


More information about the Mercurial-devel mailing list