[Bug 3839] New: hg merge w/o any revision returns IndexError: list index out of range (hg 2.3)

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun Feb 24 20:38:10 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3839

          Priority: normal
            Bug ID: 3839
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg merge w/o any revision returns IndexError: list
                    index out of range (hg 2.3)
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: dilipm79 at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.3
         Component: Mercurial
           Product: Mercurial

> hg lg -l7
o  78:2741db467722 devel Added tag REL-0.1 for changeset 32de7130783c (18
minutes ago by Dilip M) tip
|
| @    77:bc961b7ec5e5 Polished ui (2 days ago by Dilip M) [redesign]
| |\
| o \    76:67a412b0c9fa devel 3 way merge: (2 months ago by Dilip M)
| |\ \
| o | |  75:7bd75655b902 devel display only the leaf in build dir (2 months ago
by Dilip M)
|/ / /
o | |  74:32de7130783c devel final ui (2 months ago by Dilip M) REL-0.1
| | |
o | |  73:9d5a9bfe6c7b devel ui - backup (2 months ago by Dilip M)
| | |
o | |  72:76645d5d6373 devel ui - backup (2 months ago by Dilip M)
| | |



> hg --debug merge
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3]
** Mercurial Distributed SCM (version 2.3)
** Extensions loaded: mq, graphlog, color, pager, extdiff
Traceback (most recent call last):
  File "/home/dim/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/home/dim/lib/python/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/home/dim/lib/python/mercurial/dispatch.py", line 65, in dispatch
    return _runcatch(req)
  File "/home/dim/lib/python/mercurial/dispatch.py", line 88, in _runcatch
    return _dispatch(req)
  File "/home/dim/lib/python/mercurial/dispatch.py", line 740, in _dispatch
    cmdpats, cmdoptions)
  File "/home/dim/lib/python/mercurial/dispatch.py", line 514, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/dim/lib/python/mercurial/extensions.py", line 189, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/dim/lib/python/hgext/pager.py", line 130, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/home/dim/lib/python/mercurial/extensions.py", line 189, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/dim/lib/python/hgext/color.py", line 364, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/home/dim/lib/python/mercurial/dispatch.py", line 830, in _runcommand
    return checkargs()
  File "/home/dim/lib/python/mercurial/dispatch.py", line 801, in checkargs
    return cmdfunc()
  File "/home/dim/lib/python/mercurial/dispatch.py", line 737, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/dim/lib/python/mercurial/util.py", line 472, in check
    return func(*args, **kwargs)
  File "/home/dim/lib/python/mercurial/extensions.py", line 144, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/home/dim/lib/python/mercurial/util.py", line 472, in check
    return func(*args, **kwargs)
  File "/home/dim/lib/python/hgext/mq.py", line 3528, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/home/dim/lib/python/mercurial/util.py", line 472, in check
    return func(*args, **kwargs)
  File "/home/dim/lib/python/mercurial/commands.py", line 4288, in merge
    if parent == nbhs[0]:
IndexError: list index out of range

OS: Ubuntu installed on Virtualbox.

> lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 10.04.4 LTS
Release:    10.04
Codename:    lucid

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


More information about the Mercurial-devel mailing list