[issue271] traceback on hg diff with bisect extension enabled

TK Soh mercurial-bugs at selenic.com
Sat May 27 14:51:42 CDT 2006


New submission from TK Soh <teekaysoh at gmail.com>:

[tksoh at localhost hgext]$ hg vers
Mercurial Distributed SCM (version 1772852d7d14)

Copyright (C) 2005 Matt Mackall <mpm at selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[tksoh at localhost hgext]$ hg bisect
bisect: Unknown sub-command
list of subcommands for the bisect extension

 bad     mark revision as bad and update to the next revision to test
 good    mark revision as good and update to the next revision to test
 help    show help for a given bisect subcommand or all subcommands
 init    start a new bisection
 next    find and update to the next revision to test
 reset   finish a bisection
[tksoh at localhost hgext]$ hg diff
** unknown exception encountered, details follow
** report bug details to mercurial at selenic.com
** Mercurial Distributed SCM (version 1772852d7d14)
Traceback (most recent call last):
  File "/usr/bin/hg", line 12, in ?
    commands.run()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3229, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3392, in
dispatch
    return d()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 3367, in
<lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 1391, in diff
    text=opts['text'], opts=opts)
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line 369, in dodiff
    changes = repo.changes(node1, node2, files, match=match)
  File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line 632, in
changes
    lookup, modified, added, removed, deleted, unknown, ignored = (
  File "/usr/lib/python2.4/site-packages/mercurial/dirstate.py", line 430, in
changes
    for src, fn, st in self.statwalk(files, match, ignored=show_ignored):
  File "/usr/lib/python2.4/site-packages/mercurial/dirstate.py", line 402, in
walkhelper
    sorted_ = [ x for x in findfiles(f) ]
  File "/usr/lib/python2.4/site-packages/mercurial/dirstate.py", line 351, in
findfiles
    hg = bisect.bisect_left(names, '.hg')
  File "/usr/lib/python2.4/site-packages/mercurial/demandload.py", line 71, in
__getattribute__
    return getattr(module, key)
AttributeError: 'module' object has no attribute 'bisect_left'

----------
messages: 1417
nosy: tksoh
priority: bug
status: unread
title: traceback on hg diff with bisect extension enabled

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



More information about the Mercurial mailing list