Errors Using Projrc with Mercurial 2.8

Smith, Bill (Tridium) bsmith at tridium.com
Wed Nov 20 15:15:23 CST 2013


On a new archlinux box that I'm setting up, I ran into a problem with the projrc extension. When I try and clone a repo that is a largefile repo, I get the stackdump listed below. Is this simply a case that the projrc extension isn't compatible with mercurial 2.8? I saw that the last change to projrc was before 2.8 was done.

Regards,
Bill Smith

getting changed largefiles
** Unknown exception encountered with possibly-broken third-party extension projrc
** which supports versions unknown of Mercurial.
** Please disable projrc and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.5 (default, Sep  6 2013, 09:55:21) [GCC 4.8.1 20130725 (prerelease)]
** Mercurial Distributed SCM (version 2.8)
** Extensions loaded: schemes, projrc, extdiff, color, rebase, strip, mq, progress, tridium, hgk, transplant, graphlog, patchbomb, purge, largefiles Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 69, in dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 133, in _runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 806, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 585, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 196, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgext/color.py", line 419, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 897, in _runcommand
    return checkargs()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 868, in checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 803, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 512, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 151, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 512, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgext/mq.py", line 3376, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 512, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 151, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 512, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgext/largefiles/overrides.py", line 325, in overrideupdate
    return orig(ui, repo, *pats, **opts)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 512, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/mercurial/commands.py", line 5866, in update
    ret = hg.clean(repo, rev)
  File "/usr/lib/python2.7/site-packages/mercurial/hg.py", line 473, in clean
    stats = updaterepo(repo, node, True)
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line 196, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgext/largefiles/overrides.py", line 699, in hgupdaterepo
    lfcommands.updatelfiles(repo.ui, repo, filelist=filelist)
  File "/usr/lib/python2.7/site-packages/hgext/largefiles/lfcommands.py", line 445, in updatelfiles
    cachelfiles(ui, repo, None, lfiles)
  File "/usr/lib/python2.7/site-packages/hgext/largefiles/lfcommands.py", line 409, in cachelfiles
    ret = store.get(toget)
  File "/usr/lib/python2.7/site-packages/hgext/largefiles/basestore.py", line 64, in get
    available = self.exists(set(hash for (_filename, hash) in files))
  File "/usr/lib/python2.7/site-packages/hgext/largefiles/remotestore.py", line 33, in exists
    return dict((h, s == 0) for (h, s) in self._stat(hashes).iteritems())
  File "/usr/lib/python2.7/site-packages/hgext/largefiles/wirestore.py", line 36, in _stat
    batch.submit()
  File "/usr/lib/python2.7/site-packages/mercurial/wireproto.py", line 60, in submit
    mtd = getattr(self.remote, name)
AttributeError: 'httpspeer' object has no attribute 'statlfile'


More information about the Mercurial-devel mailing list