[Bug 6230] New: Double stacktrace in evolve when pulling
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Mon Nov 25 15:10:02 UTC 2019
https://bz.mercurial-scm.org/show_bug.cgi?id=6230
Bug ID: 6230
Summary: Double stacktrace in evolve when pulling
Product: Mercurial
Version: 5.2
Hardware: All
OS: Mac OS
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: evolution
Assignee: bugzilla at mercurial-scm.org
Reporter: matt_harbison at yahoo.com
CC: mercurial-devel at mercurial-scm.org,
pierre-yves.david at ens-lyon.org
Python Version: 3.7
I got this pulling onto a Mac with 5.2 from a local repo on Windows that is
being managed by py2 with thg 5.1.
(thg_pytype) Matts-Mac-mini:tests mharbison$ hg pull -r tip
http://mharbison-pc:8000
*** failed to import extension mercurial_keyring: No module named
'mercurial_keyring'
pulling from http://mharbison-pc:8000/
searching for changes
** Unknown exception encountered with possibly-broken third-party extension
evolve
** which supports versions 5.1 of Mercurial.
** Please disable evolve and try your action again.
** If that fixes the bug please report it to https://bz.mercurial-scm.org/
** Python 3.7.4 (v3.7.4:e09359112e, Jul 8 2019, 14:54:52) [Clang 6.0
(clang-600.0.57)]
** Mercurial Distributed SCM (version 5.2)
** Extensions loaded: blackbox, eol, extdiff, lfs, purge, rebase, schemes,
share, strip, absorb, evolve, phabricator, show
Traceback (most recent call last):
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/stablerangecache.py",
line 276, in _save
return self._trysave(repo)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/stablerangecache.py",
line 333, in _trysave
self._saverange(con, repo)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/stablerangecache.py",
line 351, in _saverange
con.executemany(_updaterange, allranges)
sqlite3.IntegrityError: UNIQUE constraint failed: range.rev, range.idx
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/mharbison/venvs/thg_pytype/bin/hg", line 36, in <module>
dispatch.run()
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 111, in run
status = dispatch(req)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 250, in dispatch
ret = _runcatch(req) or 0
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 424, in _runcatch
return _callcatch(ui, _runcatchfunc)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 433, in _callcatch
return scmutil.callcatch(ui, func)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/scmutil.py",
line 177, in callcatch
return func()
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 414, in _runcatchfunc
return _dispatch(req)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 1174, in _dispatch
lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 862, in runcommand
ret = _runcommand(ui, options, cmd, d)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 1185, in _runcommand
return cmdfunc()
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/dispatch.py",
line 1171, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/util.py",
line 1843, in check
return func(*args, **kwargs)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/util.py",
line 1843, in check
return func(*args, **kwargs)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/__init__.py",
line 772, in wrapmayobsoletewc
res = origfn(ui, repo, *args, **opts)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/util.py",
line 1843, in check
return func(*args, **kwargs)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/util.py",
line 1843, in check
return func(*args, **kwargs)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext/rebase.py",
line 2192, in pullrebase
ret = orig(ui, repo, *args, **opts)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/util.py",
line 1843, in check
return func(*args, **kwargs)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/commands.py",
line 5453, in pull
opargs=pullopargs,
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/exchange.py",
line 1784, in pull
_fullpullbundle2(repo, pullop)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/exchange.py",
line 1677, in _fullpullbundle2
_pullbundle2(pullop)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/mercurial/exchange.py",
line 1975, in _pullbundle2
_pullbundle2extraprepare(pullop, kwargs)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/obsexchange.py",
line 70, in _addobscommontob2pull
boundaries = obsdiscovery.buildpullobsmarkersboundaries(pullop)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/obsdiscovery.py",
line 852, in buildpullobsmarkersboundaries
revs)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/obsdiscovery.py",
line 166, in findmissingrange
local.obsstore.rangeobshashcache.save(local)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/obsdiscovery.py",
line 532, in save
repo.stablerange.save(repo)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/stablerangecache.py",
line 395, in save
self._save(repo)
File
"/Users/mharbison/venvs/thg_pytype/lib/python3.7/site-packages/hgext3rd/evolve/stablerangecache.py",
line 285, in _save
repo.ui.log(b'evoext-cache', b'error while saving new data: %s' % exc)
TypeError: %b requires a bytes-like object, or an object that implements
__bytes__, not 'IntegrityError'
(thg_pytype) Matts-Mac-mini:tests mharbison$
(thg_pytype) Matts-Mac-mini:tests mharbison$
(thg_pytype) Matts-Mac-mini:tests mharbison$
(thg_pytype) Matts-Mac-mini:tests mharbison$ hg version -v
*** failed to import extension mercurial_keyring: No module named
'mercurial_keyring'
Mercurial Distributed SCM (version 5.2)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2019 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Enabled extensions:
blackbox internal
eol internal
extdiff internal
lfs internal
purge internal
rebase internal
schemes internal
share internal
strip internal
absorb internal
evolve external 9.2.1
phabricator internal
show internal
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list