[issue609] Repository-wide operations (diff, commit) unable to complete, MemoryError

Andrei Errapart mercurial-bugs at selenic.com
Thu Jun 28 07:09:31 CDT 2007

New submission from Andrei Errapart <andreie at no.spam.ee>:

1. I accidentally performed "hg add" on all stale files (*.obj, *.pdf, etc) on
my repository. Approximately 3000 files were added.
2. "hg commit" - tried to get list of those files. Bailed out with out of memory
3. "hg remove" on all those stale files by hand.
4. I am able to diff and commit individual files.

Still, "hg diff" and "hg commit" never complete:

C:\soft>hg diff > err.diff
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version e6d105a51ec7)
Traceback (most recent call last):
  File "hg", line 11, in ?
  File "mercurial\commands.pyc", line 3010, in run
  File "mercurial\commands.pyc", line 3007, in dispatch
  File "mercurial\cmdutil.pyc", line 37, in runcatch
  File "mercurial\cmdutil.pyc", line 324, in dispatch
  File "mercurial\cmdutil.pyc", line 377, in runcommand
  File "mercurial\cmdutil.pyc", line 333, in checkargs
  File "mercurial\cmdutil.pyc", line 316, in <lambda>
  File "mercurial\commands.pyc", line 1006, in diff
  File "mercurial\patch.pyc", line 558, in diff
  File "mercurial\context.pyc", line 480, in data
  File "mercurial\localrepo.pyc", line 452, in wread
  File "mercurial\util_win32.pyc", line 254, in read

I am about to split the repository up between individual project, thus there is
no urgency. I will keep the repository, if additional information is needed to
resolve this issue, I'll be happy to help.

messages: 3382
nosy: andreie
priority: bug
status: unread
title: Repository-wide operations (diff, commit) unable to complete, MemoryError

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list