mercurial@3877: 2 new changesets

Christian Ebert blacktrash at gmx.net
Fri Dec 15 08:25:44 CST 2006


* Mercurial Commits on Thursday, December 14, 2006 at 23:00:13 +0100:
> 2 new changesets in mercurial:
> [...] 
> http://www.selenic.com/hg/rev/abaee83ce0a6
> changeset:   3877:abaee83ce0a6
> tag:         tip
> user:        Matt Mackall <mpm at selenic.com>
> date:        Wed Dec 13 13:27:09 2006 -0600
> summary:     Replace demandload with new demandimport

This breaks here on MacOS 10.3.9 with python2.5. Mind you I might
have screwed up something with 2.5 because I compiled it myself.
It works with 2.4 from fink (but then again, tip breaks my web
view via hgwebdir.cgi).

Here's the traceback in case someone encounters the same problem
or, if indeed my python installation is to blame, can point me in
the right direction (I've got no probs with other python apps and
2.5 though).

~/src/mercurial-crew$ hg id
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version abaee83ce0a6)
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 11, in <module>
    mercurial.commands.run()
  File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py", line 2958, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py", line 3181, in dispatch
    return d()
  File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py", line 3140, in <lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/usr/local/lib/python2.5/site-packages/mercurial/commands.py", line 1441, in identify
    for tags in map(repo.nodetags, parents) if tags]
  File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line 344, in nodetags
    for t, n in self.tags().items():
  File "/usr/local/lib/python2.5/site-packages/hgext/mq.py", line 2028, in tags
    tagscache = super(mqrepo, self).tags()
  File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line 286, in tags
    for rev, node, fnode in self._hgtagsnodes():
  File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line 319, in _hgtagsnodes
    fnode = c.filenode('.hgtags')
  File "/usr/local/lib/python2.5/site-packages/mercurial/context.py", line 87, in filenode
    if '_manifestdelta' in self.__dict__ or path in self.files():
  File "/usr/local/lib/python2.5/site-packages/mercurial/context.py", line 67, in files
    def files(self): return self._changeset[3]
  File "/usr/local/lib/python2.5/site-packages/mercurial/context.py", line 48, in __getattr__
    self._changeset = self._repo.changelog.read(self.node())
  File "/usr/local/lib/python2.5/site-packages/mercurial/changelog.py", line 85, in read
    return self.extract(self.revision(node))
  File "/usr/local/lib/python2.5/site-packages/mercurial/revlog.py", line 917, in revision
    if node != hash(text, p1, p2):
  File "/usr/local/lib/python2.5/site-packages/mercurial/revlog.py", line 43, in hash
    s = sha.new(l[0])
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 63, in __getattr__
    self._load()
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 46, in _load
    mod = _origimport(head, globals, locals)
  File "/usr/local/lib/python2.5/sha.py", line 6, in <module>
    from hashlib import sha1 as sha
  File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py", line 85, in _demandimport
    mod = _origimport(name, globals, locals)
  File "/usr/local/lib/python2.5/hashlib.py", line 94, in <module>
    del f
NameError: name 'f' is not defined


TIA

c
-- 
All of old. Nothing else ever. Ever tried. Ever failed.
No matter. Try again. Fail again. Fail better.
                       -- Samuel Beckett, Worstward Ho


More information about the Mercurial-devel mailing list