[issue1186] hg qpush/qgoto <guarded patch> fails with exception

Nicholas Riley mercurial-bugs at selenic.com
Wed Jun 18 17:49:02 CDT 2008


New submission from Nicholas Riley <com-selenic at sabi.net>:

% hg qselect -n
guards deactivated
% hg qguard -l
baz: +bar
foo: unguarded
% hg qpush baz
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0b1b16e842b7)
Traceback (most recent call last):
  File "/home/zilles/njriley/usr/bin/hg", line 20, in ?
    mercurial.dispatch.run()
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/mercurial/dispatch.py", 
line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/mercurial/dispatch.py", 
line 29, in dispatch
    return _runcatch(u, args)
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/mercurial/dispatch.py", 
line 45, in _runcatch
    return _dispatch(ui, args)
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/mercurial/dispatch.py", 
line 364, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/mercurial/dispatch.py", 
line 417, in _runcommand
    return checkargs()
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/mercurial/dispatch.py", 
line 373, in checkargs
    return cmdfunc()
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/mercurial/dispatch.py", 
line 356, in <lambda>
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/hgext/mq.py", line 
1925, in push
    mergeq=mergeq)
  File "/home/zilles/njriley/usr/encap/python-2.4.3/lib/python2.4/site-packages/hgext/mq.py", line 810, 
in push
    end = self.series.index(patch, start) + 1
ValueError: list.index(x): x not in list

----------
messages: 6353
nosy: nriley
priority: bug
status: unread
title: hg qpush/qgoto <guarded patch> fails with exception

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1186>
____________________________________________________



More information about the Mercurial-devel mailing list