Patchwork filelog: fix parsemeta docstring

login
register
mail settings
Submitter Jun Wu
Date May 3, 2017, 5:39 a.m.
Message ID <5bd87ecd9af71a0d660a.1493789973@x1c>
Download mbox | patch
Permalink /patch/20395/
State Accepted
Headers show

Comments

Jun Wu - May 3, 2017, 5:39 a.m.
# HG changeset patch
# User Jun Wu <quark@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.
Yuya Nishihara - May 3, 2017, 7:56 a.m.
On Tue, 2 May 2017 22:39:33 -0700, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark@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

Queued, thanks.

Patch

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':