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

            Bug ID: 6196
           Summary: Exception after 5.1.1 upgrade
           Product: Mercurial
           Version: 5.1
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: histedit
          Assignee: bugzi...@mercurial-scm.org
          Reporter: mar...@python-blog.com
                CC: mercurial-devel@mercurial-scm.org

** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.7.4 (default, Sep  7 2019, 18:29:04) [Clang 10.0.0
(clang-1000.11.45.5)]
** Mercurial Distributed SCM (version 5.1.1)
** Extensions loaded: extdiff, pager, strip, mq, purge, transplant, churn,
largefiles, rebase, histedit, convert, graphlog, record, gpg, evolve, topic,
absorb
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 43, in <module>
    dispatch.run()
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 99, in run
    status = dispatch(req)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 225, in dispatch
    ret = _runcatch(req) or 0
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 376, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 384, in _callcatch
    return scmutil.callcatch(ui, func)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/scmutil.py",
line 167, in callcatch
    return func()
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 367, in _runcatchfunc
    return _dispatch(req)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 1021, in _dispatch
    cmdpats, cmdoptions)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 756, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/hgext/pager.py",
line 77, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 1030, in _runcommand
    return cmdfunc()
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/dispatch.py",
line 1018, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/util.py",
line 1682, in check
    return func(*args, **kwargs)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/util.py",
line 1682, in check
    return func(*args, **kwargs)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/hgext/mq.py",
line 3655, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/mercurial/util.py",
line 1682, in check
    return func(*args, **kwargs)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/hgext/histedit.py",
line 1678, in histedit
    return _chistedit(ui, repo, *freeargs, **opts)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/hgext/histedit.py",
line 1540, in _chistedit
    rc = curses.wrapper(functools.partial(_chisteditmain, repo, ctxs))
  File
"/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/curses/__init__.py",
line 102, in wrapper
    return func(stdscr, *args, **kwds)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/hgext/histedit.py",
line 1437, in _chisteditmain
    e = event(state, ch)
  File
"/usr/local/Cellar/mercurial/5.1.1_1/lib/python3.7/site-packages/hgext/histedit.py",
line 1156, in event
    if '0' <= ch <= '9':
TypeError: '<=' not supported between instances of 'bytes' and 'NoneType'

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

Reply via email to