[issue903] 'backout' crashes when called without argument

Alexandre Vassalotti mercurial-bugs at selenic.com
Sat Dec 29 21:17:27 CST 2007

New submission from Alexandre Vassalotti <alexandre at peadrop.com>:

The title says it all. 

% hg backout
** 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.4)
Traceback (most recent call last):
  File "/usr/bin/hg", line 11, in <module>
  File "/var/lib/python-support/python2.5/mercurial/commands.py", line 3110, in run
    sys.exit(dispatch(sys.argv[1:], argv0=sys.argv[0]))
  File "/var/lib/python-support/python2.5/mercurial/commands.py", line 3107, in
    return cmdutil.runcatch(u, args, argv0=argv0)
  File "/var/lib/python-support/python2.5/mercurial/cmdutil.py", line 37, in
    return dispatch(ui, args, argv0=argv0)
  File "/var/lib/python-support/python2.5/mercurial/cmdutil.py", line 364, in
    ret = runcommand(ui, options, cmd, d)
  File "/var/lib/python-support/python2.5/mercurial/cmdutil.py", line 417, in
    return checkargs()
  File "/var/lib/python-support/python2.5/mercurial/cmdutil.py", line 373, in
    return cmdfunc()
  File "/var/lib/python-support/python2.5/mercurial/cmdutil.py", line 356, in
    d = lambda: func(ui, repo, *args, **cmdoptions)
  File "/var/lib/python-support/python2.5/mercurial/commands.py", line 176, in
    node = repo.lookup(rev)
  File "/var/lib/python-support/python2.5/mercurial/localrepo.py", line 363, in
    n = self.changelog._match(key)
  File "/var/lib/python-support/python2.5/mercurial/revlog.py", line 768, in _match
    if len(id) == 20:
TypeError: object of type 'NoneType' has no len()

messages: 4741
nosy: alexandre.vassalotti
priority: bug
status: unread
title: 'backout' crashes when called without argument

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list