OverflowError: - when committing +93k files
Bjarne Christiansen
bjarne.christiansen at gmail.com
Wed Oct 1 07:13:40 CDT 2008
Hi guys,
I have just created a new repo. I added 93712 files and got the following
error message when trying to do a "hg commit"
local -> hg commit
transaction abort!
rollback completed
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.0.2)
Traceback (most recent call last):
File "/home/bjarne/bin/hg", line 20, in ?
mercurial.dispatch.run()
File "/home/bjarne/lib/python/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/home/bjarne/lib/python/mercurial/dispatch.py", line 29, in dispatch
return _runcatch(u, args)
File "/home/bjarne/lib/python/mercurial/dispatch.py", line 45, in
_runcatch
return _dispatch(ui, args)
File "/home/bjarne/lib/python/mercurial/dispatch.py", line 364, in
_dispatch
ret = _runcommand(ui, options, cmd, d)
File "/home/bjarne/lib/python/mercurial/dispatch.py", line 417, in
_runcommand
return checkargs()
File "/home/bjarne/lib/python/mercurial/dispatch.py", line 373, in
checkargs
return cmdfunc()
File "/home/bjarne/lib/python/mercurial/dispatch.py", line 356, in
<lambda>
d = lambda: func(ui, repo, *args, **cmdoptions)
File "/home/bjarne/lib/python/mercurial/commands.py", line 568, in commit
node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
File "/home/bjarne/lib/python/mercurial/cmdutil.py", line 1185, in commit
return commitfunc(ui, repo, files, message, match, opts)
File "/home/bjarne/lib/python/mercurial/commands.py", line 566, in
commitfunc
force_editor=opts.get('force_editor'))
File "/home/bjarne/lib/python/mercurial/localrepo.py", line 852, in commit
new[f] = self.filecommit(f, m1, m2, linkrev, trp, changed)
File "/home/bjarne/lib/python/mercurial/localrepo.py", line 688, in
filecommit
t = self.wread(fn)
File "/home/bjarne/lib/python/mercurial/localrepo.py", line 556, in wread
data = self.wopener(filename, 'r').read()
OverflowError: requested number of bytes is more than a Python string can
hold
local -> python -V
Python 2.4.3
Cheers,
Bjarne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20081001/4dff2571/attachment.htm
More information about the Mercurial
mailing list