crash on hg qpush

Nico Mahlo nico-mahlo at gmx.net
Sat Dec 22 04:55:40 CST 2007


I downloaded Mercurial yesterday to give it a try. While testing MQ I ran into 
the following crash:

==================================================
$ hg qpush saft.patch
applying saft.patch
Unable to read saft.patch
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.5)
Traceback (most recent call last):
  File "/usr/bin/hg", line 14, in ?
    mercurial.dispatch.run()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 20, in 
run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 29, in 
dispatch
    return _runcatch(u, args)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 45, in 
_runcatch
    return _dispatch(ui, args)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 348, 
in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 401, 
in _runcommand
    return checkargs()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 357, 
in checkargs
    return cmdfunc()
  File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 340, 
in <lambda>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/usr/lib64/python2.4/site-packages/hgext/mq.py", line 1836, in push
    mergeq=mergeq)
  File "/usr/lib64/python2.4/site-packages/hgext/mq.py", line 802, in push
    top = self.applied[-1].name
IndexError: list index out of range

==================================================

I don't know whether this bug report is helpful or not -- in any case I'll 
include a TGZ of the complete repository and a session.txt in zipped form 
containing my _whole_ session (about 2500 lines).

So if the traceback does not help, maybe you can gain some info from that 
session file.

HTH

  Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: session.txt.zip
Type: application/x-zip
Size: 8745 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20071222/e4d46966/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainsrc-repo.tgz
Type: application/x-tgz
Size: 3287 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20071222/e4d46966/attachment-0001.bin 


More information about the Mercurial mailing list