[Bug 4288] New: Error on commit: struct.error

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jun 23 20:23:20 CDT 2014


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

          Priority: normal
            Bug ID: 4288
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Error on commit: struct.error
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: sean.x.hughes at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.8.2
         Component: Mercurial
           Product: Mercurial

transaction abort!
rollback completed
note: commit message saved in .hg/last-message.txt
** 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: 
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/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 1297, in
commit
    ret = self.commitctx(cctx, True)
  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 1345, in
commitctx
    changed)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1140, in
_filecommit
    return flog.add(text, meta, tr, linkrev, fparent1, fparent2)
  File "/usr/lib/python2.7/dist-packages/mercurial/filelog.py", line 47, in add
    return self.addrevision(text, transaction, link, p1, p2)
  File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line 1050, in
addrevision
    cachedelta, ifh, dfh)
  File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line 1170, in
_addrevision
    entry = self._io.packentry(e, self.node, self.version, curr)
  File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line 162, in
packentry
    p = _pack(indexformatng, *entry)
struct.error: 'i' format requires -2147483648 <= number <= 2147483647

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


More information about the Mercurial-devel mailing list