https://bz.mercurial-scm.org/show_bug.cgi?id=6167
Bug ID: 6167 Summary: ZeroDivisionError with debugrevlog Product: Mercurial Version: stable branch Hardware: PC OS: Linux Status: UNCONFIRMED Severity: feature Priority: wish Component: Mercurial Assignee: bugzi...@mercurial-scm.org Reporter: mh...@glandium.org CC: mercurial-devel@mercurial-scm.org STR: - hg clone --stream https://hg.mozilla.org/mozilla-unified - cd mozilla-unified - hg debugrevlog testing/mozmill/virtualenv/virtualenv_support/__init__.py ** unknown exception encountered, please report by visiting ** https://mercurial-scm.org/wiki/BugTracker ** Python 2.7.15+ (default, Nov 27 2018, 23:36:35) [GCC 7.3.0] ** Mercurial Distributed SCM (version 5.0.1) ** Extensions loaded: Traceback (most recent call last): File "/usr/local/bin/hg", line 43, in <module> dispatch.run() File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 99, in run status = dispatch(req) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 225, in dispatch ret = _runcatch(req) or 0 File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 376, in _runcatch return _callcatch(ui, _runcatchfunc) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 384, in _callcatch return scmutil.callcatch(ui, func) File "/usr/local/lib/python2.7/dist-packages/mercurial/scmutil.py", line 167, in callcatch return func() File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 367, in _runcatchfunc return _dispatch(req) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1021, in _dispatch cmdpats, cmdoptions) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 756, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1030, in _runcommand return cmdfunc() File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1018, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **strcmdopt) File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1680, in check return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/mercurial/debugcommands.py", line 2277, in debugrevlog fullsize[2] /= numfull ZeroDivisionError: integer division or modulo by zero Presumably, this is happening because the file was empty when it existed. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel