[Bug 5295] New: hg stat Raises ValueError: overflow in dirstate

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jul 14 15:35:42 EDT 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5295

            Bug ID: 5295
           Summary: hg stat Raises ValueError: overflow in dirstate
           Product: Mercurial
           Version: 3.8.3
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: SDEckhart at west.com
                CC: mercurial-devel at selenic.com

I renamed a directory from ScoreCardHelper to scorecard_helper. Within the
directory, I renamed a file from ScoreCardHelper.py to scorecard_helper.py.
Then, I modified a 12 files in two directories to change references to the new
module name.

When I issued an hg stat command, I get the following errors:

PS F:\Projects\TRR> hg status
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.8.3)
** Extensions loaded:
Traceback (most recent call last):
  File "hg", line 49, in <module>
  File "mercurial\dispatch.pyo", line 59, in run
  File "mercurial\dispatch.pyo", line 125, in dispatch
  File "mercurial\dispatch.pyo", line 204, in _runcatch
  File "mercurial\dispatch.pyo", line 887, in _dispatch
  File "mercurial\dispatch.pyo", line 632, in runcommand
  File "mercurial\dispatch.pyo", line 1017, in _runcommand
  File "mercurial\dispatch.pyo", line 978, in checkargs
  File "mercurial\dispatch.pyo", line 884, in <lambda>
  File "mercurial\util.pyo", line 1005, in check
  File "mercurial\commands.pyo", line 6586, in status
  File "mercurial\localrepo.pyo", line 1823, in status
  File "mercurial\context.pyo", line 351, in status
  File "mercurial\context.pyo", line 1628, in _buildstatus
  File "mercurial\context.pyo", line 1594, in _dirstatestatus
  File "mercurial\context.pyo", line 1395, in __contains__
  File "mercurial\dirstate.pyo", line 311, in __getitem__
  File "mercurial\util.pyo", line 737, in __get__
  File "mercurial\dirstate.pyo", line 135, in _map
  File "mercurial\dirstate.pyo", line 433, in _read
  File "mercurial\util.pyo", line 857, in wrapper
ValueError: overflow in dirstate

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


More information about the Mercurial-devel mailing list