[issue546] File size limit?
Peter Weseloh
mercurial-bugs at selenic.com
Fri Apr 27 14:13:42 UTC 2007
New submission from Peter Weseloh <Peter.Weseloh at googlemail.com>:
When I try to add/commit a 2G file I get the following
> % hg add 2G.zero
> % hg commit -m "2G.zero"
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.3)
Traceback (most recent call last):
File "/user/cat/dev_tools/4.0.2/x86_64.Linux/bin/hg", line 12, in ?
commands.run()
File
"/user/cat/dev_tools/4.0.2/x86_64.Linux/lib64/python/mercurial/commands.py",
line 3000, in run
sys.exit(dispatch(sys.argv[1:]))
File
"/user/cat/dev_tools/4.0.2/x86_64.Linux/lib64/python/mercurial/commands.py",
line 3223, in dispatch
return d()
File
"/user/cat/dev_tools/4.0.2/x86_64.Linux/lib64/python/mercurial/commands.py",
line 3182, in <lambda>
d = lambda: func(u, repo, *args, **cmdoptions)
File
"/user/cat/dev_tools/4.0.2/x86_64.Linux/lib64/python/mercurial/commands.py",
line 454, in commit
force_editor=opts.get('force_editor'))
File
"/user/cat/dev_tools/4.0.2/x86_64.Linux/lib64/python/mercurial/localrepo.py",
line 720, in commit
new[f] = self.filecommit(f, m1, m2, linkrev, tr, changed)
File
"/user/cat/dev_tools/4.0.2/x86_64.Linux/lib64/python/mercurial/localrepo.py",
line 602, in filecommit
t = self.wread(fn)
File
"/user/cat/dev_tools/4.0.2/x86_64.Linux/lib64/python/mercurial/localrepo.py",
line 491, in wread
data = self.wopener(filename, 'r').read()
OverflowError: requested number of bytes is more than a Python string can hold
Is there a known file size limitation of mercurial or is it a problem of the
python version (2.3.4) I am using? OS is RHEL 4.4.
Background is that I want to add several large binary files to the repo.
Thanks,
Peter
----------
messages: 3021
nosy: PeterW
priority: bug
status: unread
title: File size limit?
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue546>
____________________________________________________
More information about the Mercurial-devel
mailing list