[Python-apps-team] Bug#625859: mercurial: "hg up revid" breaks with an IndexError

Aurelien Campeas aurelien.campeas at logilab.fr
Fri May 6 12:04:57 UTC 2011


Package: mercurial
Version: 1.6.4-1
Severity: important


auc at crater2:~/pagode$ hg up pagode-2.1.0
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5]
** Mercurial Distributed SCM (version 1.6.4)
** Extensions loaded: qct, bookmarks, rebase, hgview, graphlog, transplant, notify, purge, color, mq, convert, progress
Traceback (most recent call last):
  File "/usr/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 34, in dispatch
    return _runcatch(u, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 54, in _runcatch
    return _dispatch(ui, args)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 494, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 355, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/pymodules/python2.6/mercurial/extensions.py", line 174, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/hgext/color.py", line 211, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 545, in _runcommand
    return checkargs()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 499, in checkargs
    return cmdfunc()
  File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 492, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 420, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/mercurial/extensions.py", line 129, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 420, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/hgext/mq.py", line 2822, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 420, in check
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 3855, in update
    return hg.update(repo, rev)
  File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 381, in update
    stats = mergemod.update(repo, node, False, False, None)
  File "/usr/lib/pymodules/python2.6/mercurial/merge.py", line 521, in update
    stats = applyupdates(repo, action, wc, p2, pa)
  File "/usr/lib/pymodules/python2.6/mercurial/merge.py", line 274, in applyupdates
    fca = fcl.parents()[0]
IndexError: list index out of range

It could because of an extension. 
However, with mercurial 1.8.3 (latest stable locally installed) everything
is fine.


-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15) (ignored: LC_ALL set to fr_FR at euro)
Shell: /bin/sh linked to /bin/dash

Versions of packages mercurial depends on:
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  mercurial-common        1.6.4-1          scalable distributed version contr
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv

mercurial recommends no packages.

Versions of packages mercurial suggests:
ii  emacs        23.2+1-7                    The GNU Emacs editor (metapackage)
ii  kdiff3       0.9.95-6                    compares and merges 2 or 3 files o
ii  meld         1.3.2-2                     graphical tool to diff and merge f
ii  qct          1.7-1                       GUI commit tool
ii  tk8.4 [wish] 8.4.19-4                    Tk toolkit for Tcl and X11, v8.4 -
ii  tk8.5 [wish] 8.5.8-1                     Tk toolkit for Tcl and X11, v8.5 -
ii  tkdiff       1:4.1.4-1                   graphical side by side "diff" util
ii  vim          2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - enhanced vi editor
ii  vim-gnome [v 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - enhanced vi editor -
ii  vim-gtk [vim 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - enhanced vi editor -

-- no debconf information





More information about the Python-apps-team mailing list