[Bug 4879] New: hggettext fails with IOError: could not get source code

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Oct 2 21:17:53 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4879

            Bug ID: 4879
           Summary: hggettext fails with IOError: could not get source
                    code
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: timeless at gmail.com
                CC: mercurial-devel at selenic.com

$ i18n/hggettext hgext/children.py 2>&1 
#: hgext/children.py:11
msgid ""
"command to display child changesets (DEPRECATED)\n"
"\n"
"This extension is deprecated. You should use :hg:`log -r\n"
"\"children(REV)\"` instead.\n"
msgstr ""

Traceback (most recent call last):
  File "i18n/hggettext", line 137, in <module>
    docstrings(path)
  File "i18n/hggettext", line 111, in docstrings
    src = inspect.getsource(func)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py",
line 694, in getsource
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py",
line 683, in getsourcelines
  File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py",
line 531, in findsource
IOError: could not get source code

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list