[Bug 5359] New: hg pull -u fails in mercurial 3.9+ if evolve is enabled.
bugzilla at mercurial-scm.org
bugzilla at mercurial-scm.org
Sun Sep 4 11:23:37 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5359
Bug ID: 5359
Summary: hg pull -u fails in mercurial 3.9+ if evolve is
enabled.
Product: Mercurial
Version: 3.9-rc
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: evolution
Assignee: bugzilla at selenic.com
Reporter: 7895pulkit at gmail.com
CC: mercurial-devel at selenic.com,
pierre-yves.david at ens-lyon.org
This is what I ran into while doing hg pull -u
pulkit at pulkit-goyal:~/hg-committed$ hg pull -u
pulling from https://www.mercurial-scm.org/repo/hg-committed/
searching for changes
** Unknown exception encountered with possibly-broken third-party extension
evolve
** which supports versions 3.8 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 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010]
** Mercurial Distributed SCM (version 3.9+196-318e2b600b80+20160831)
** Extensions loaded: patchbomb, histedit, strip, mq, largefiles, evolve
Traceback (most recent call last):
File "/home/pulkit/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 60,
in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
126, in dispatch
ret = _runcatch(req)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
216, in _runcatch
return callcatch(ui, _runcatchfunc)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
225, in callcatch
return func()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
205, in _runcatchfunc
return _dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
897, in _dispatch
cmdpats, cmdoptions)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
650, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
906, in _runcommand
return cmdfunc()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line
894, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line
210, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hgext/mq.py", line 3540, in
mqcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line
210, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/home/pulkit/evolve/hgext/evolve.py", line 737, in warnobserrors
ret = orig(ui, repo, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line
210, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/home/pulkit/evolve/hgext/evolve.py", line 709, in wrapmayobsoletewc
res = origfn(ui, repo, *args, **opts)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line
210, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hgext/largefiles/overrides.py",
line 799, in overridepull
result = orig(ui, repo, source, **opts)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1035,
in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/commands.py", line
5843, in pull
opargs=pullopargs).cgresult
File "/usr/local/lib/python2.7/dist-packages/mercurial/exchange.py", line
1213, in pull
_pullbundle2(pullop)
File "/usr/local/lib/python2.7/dist-packages/mercurial/exchange.py", line
1351, in _pullbundle2
_pullbundle2extraprepare(pullop, kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/extensions.py", line
210, in closure
return func(*(args + a), **kw)
File "/home/pulkit/evolve/hgext/evolve.py", line 3705, in
_addobscommontob2pull
boundaries = _buildpullobsmarkersboundaries(pullop)
File "/home/pulkit/evolve/hgext/evolve.py", line 3693, in
_buildpullobsmarkersboundaries
common = findcommonobsmarkers(repo.ui, repo, remote, revs)
File "/home/pulkit/evolve/hgext/evolve.py", line 3496, in
findcommonobsmarkers
localhash = _obsrelsethashtreefm1(local)
File "/home/pulkit/evolve/hgext/evolve.py", line 3846, in
_obsrelsethashtreefm1
return _obsrelsethashtree(repo, obsolete._fm1encodeonemarker)
File "/home/pulkit/evolve/hgext/evolve.py", line 3856, in _obsrelsethashtree
sha = util.sha1()
AttributeError: 'module' object has no attribute 'sha1'
Disabling evolve fixes it for me.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list