https://bz.mercurial-scm.org/show_bug.cgi?id=5566
Bug ID: 5566 Summary: docs problem: hglib "Basic Usage" instruction isn't correct Product: Mercurial Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED Severity: bug Priority: wish Component: hglib Assignee: bugzi...@mercurial-scm.org Reporter: d.ka...@braemacca.com CC: mercurial-devel@mercurial-scm.org The PythonHglib page, in section 4, "Basic Usage", contains this instruction: print commit.author The result of that is this: Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'list' object has no attribute 'author' It seems that the instruction should be print client.tip().author I'm using Python 2.7.3, Python Hglib version 2.4, and Windows 7. I ran python, and typed the text on the web page directly into the interpreter. Hglib web page: https://www.mercurial-scm.org/wiki/PythonHglib#Basic_usage -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel