[Bug 4989] New: hg commit does not work anymore (mayby my python is damaged?)

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun Dec 6 18:09:15 UTC 2015


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

            Bug ID: 4989
           Summary: hg commit does not work anymore (mayby my python is
                    damaged?)
           Product: Mercurial
           Version: stable branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: amh at nr.no
                CC: mercurial-devel at selenic.com

Mercurial Distributed SCM (version 2.8.2)
the error started today, hg pull -u seemingly works 


anders at .......... $ hg commit
* unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2]
** Mercurial Distributed SCM (version 2.8.2)
** Extensions loaded: color, graphlog, extdiff, hgk, rebase
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 133, in
_runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 806, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 585, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in
wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 417, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 897, in
_runcommand
    return checkargs()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 868, in
checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 803, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 512, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1427, in
commit
    node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 1656, in
commit
    scmutil.match(repo[None], pats, opts), opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1422, in
commitfunc
    match, editor=e, extra=extra)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 61, in
wrapper
    return orig(repo.unfiltered(), *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1179, in
commit
    changes = self.status(match=match, clean=force)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1499, in
status
    if '.hgsub' in self.dirstate:
  File "/usr/lib/python2.7/dist-packages/mercurial/dirstate.py", line 200, in
__contains__
    return key in self._map
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 281, in
__get__
    result = self.func(obj)
  File "/usr/lib/python2.7/dist-packages/mercurial/dirstate.py", line 51, in
_map
    self._read()
  File "/usr/lib/python2.7/dist-packages/mercurial/dirstate.py", line 284, in
_read
    p = parsers.parse_dirstate(self._map, self._copymap, st)
ValueError: overflow in dirstate

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


More information about the Mercurial-devel mailing list