[Bug 4033] New: Unknown Exception when using hg histedit

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Sep 9 09:21:29 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=4033

          Priority: normal
            Bug ID: 4033
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Unknown Exception when using hg histedit
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: severin.wischmann at dealini.ch
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.7
         Component: histedit
           Product: Mercurial

After using hg histedit the following error occured after merging some files
and changing the commit message of another one

** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.4 (default, Apr 19 2013, 18:28:01) [GCC 4.7.3]
** Mercurial Distributed SCM (version 2.7)
** Extensions loaded: color, graphlog, rebase, histedit, record, progress, mq
Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 28, in
run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 69, in
dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 97, in
_runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 778, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 549, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 188, in
wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 412, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 869, in
_runcommand
    return checkargs()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 840, in
checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 775, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 143, in
wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3531, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 506, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/histedit.py", line 580, in
histedit
    mapping, tmpnodes, created, ntm = processreplacement(repo, replacements)
  File "/usr/lib/python2.7/dist-packages/hgext/histedit.py", line 800, in
processreplacement
    final[prec] = sorted(succs, key=nm.get)
TypeError: expected string or Unicode object, NoneType found

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


More information about the Mercurial-devel mailing list