[Bug 298111] [NEW] mercurial commit fails with large files

Andrew andrew.rw.robinson at gmail.com
Fri Nov 14 16:31:46 UTC 2008


Public bug reported:

Binary package hint: mercurial

When attempting the following commands:
hg init
hg ci -Aym "Initial"

and one of the files being added is over 10MB, mercurial errors due to a
python code bug:

somelargfile.tar.gz: files over 10MB may cause memory and performance problems
(use 'hg revert somelargfile.tar.gz' to unadd the file)
Traceback (most recent call last):
  File "/usr/bin/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 93, in _runcatch
    ui.warn(_("abort: %s\n") % inst[1])
IndexError: tuple index out of range

Ubuntu: Intrepid
Architecture: amd64
Mercurial Version: 1.0.1-5.1

** Affects: mercurial (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: mercurial
  
  When attempting the following commands:
  hg init
  hg ci -Aym "Initial"
  
  and one of the files being added is over 10MB, mercurial errors due to a
  python code bug:
  
  somelargfile.tar.gz: files over 10MB may cause memory and performance problems
  (use 'hg revert somelargfile.tar.gz' to unadd the file)
  Traceback (most recent call last):
    File "/usr/bin/hg", line 20, in <module>
      mercurial.dispatch.run()
    File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 20, in run
      sys.exit(dispatch(sys.argv[1:]))
    File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 29, in dispatch
      return _runcatch(u, args)
    File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 93, in _runcatch
      ui.warn(_("abort: %s\n") % inst[1])
  IndexError: tuple index out of range
+ 
+ Ubuntu: Intrepid
+ Architecture: amd64
+ Mercurial Version: 1.0.1-5.1

-- 
mercurial commit fails with large files
https://bugs.launchpad.net/bugs/298111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list