[Bug 5680] New: hg update stack traces on Python 2.7.3

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sat Sep 16 21:11:46 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5680

            Bug ID: 5680
           Summary: hg update stack traces on Python 2.7.3
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: jordigh at octave.org
                CC: mercurial-devel at mercurial-scm.org

I'm not sure if we want to consider this broken or not. This is on Debian
wheezy which is now oldoldstable, Python version 2.7.3

gnuoctave at pierce-butler:~/hg/hg-git$ HGRCPATH=/dev/null hg pull -u
pulling from https://bitbucket.org/durin42/hg-git/
warning: connecting to bitbucket.org using legacy security technology (TLS
1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info
(using CA certificates from /etc/ssl/certs/ca-certificates.crt; if you see this
message, your Mercurial install is not properly configured; see
https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial
to avoid this message)
obsolete feature not enabled but 254 markers found!
searching for changes
adding changesets
adding manifests
adding file changes
added 47 changesets with 70 changes to 19 files
updating bookmark master
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.3 (default, Jun 22 2015, 19:33:41) [GCC 4.6.3]
** Mercurial Distributed SCM (version 4.3.1)
** Extensions loaded: 
Traceback (most recent call last):
  File "/home/gnuoctave/local/bin/hg", line 45, in <module>
    mercurial.dispatch.run()
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
81, in run
    status = (dispatch(req) or 0) & 255
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
162, in dispatch
    ret = _runcatch(req)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
302, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
310, in _callcatch
    return scmutil.callcatch(ui, func)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/scmutil.py", line
150, in callcatch
    return func()
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
292, in _runcatchfunc
    return _dispatch(req)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
896, in _dispatch
    cmdpats, cmdoptions)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
658, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
904, in _runcommand
    return cmdfunc()
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
893, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/util.py",
line 1077, in check
    return func(*args, **kwargs)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/commands.py", line
3933, in pull
    opargs=pullopargs).cgresult
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/exchange.py", line
1256, in pull
    pullop.trmanager.close()
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/exchange.py", line
1199, in close
    self._tr.close()
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/transaction.py",
line 43, in _active
    return func(self, *args, **kwds)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/transaction.py",
line 521, in close
    self._postclosecallback[cat](self)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/localrepo.py",
line 1405, in updater
    repo.updatecaches(tr)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/localrepo.py",
line 140, in wrapper
    return orig(repo.unfiltered(), *args, **kwargs)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/localrepo.py",
line 1424, in updatecaches
    branchmap.updatecache(self.filtered('served'))
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/branchmap.py",
line 110, in updatecache
    partial.update(repo, revs)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/branchmap.py",
line 266, in update
    branch, closesbranch = getbranchinfo(r)
  File
"/home/gnuoctave/local/lib/python2.7/site-packages/mercurial/branchmap.py",
line 409, in branchinfo
    cachenode, branchidx = unpack_from(_rbcrecfmt, self._rbcrevs, rbcrevidx)
TypeError: unpack_from() argument 1 must be string or read-only buffer, not
bytearray

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list