rebaseif does not work with mercurial 1.9.1

Issue #11 resolved
Christophe Furmaniak
created an issue

I upgraded recently to hg 1.9.1.
Just cloned the extension from the bitbucket repo

<pre>
$ hg pullr
unknown exception encountered, please report by visiting
http://mercurial.selenic.com/wiki/BugTracker
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24) [GCC 4.5.2]
Mercurial version 1.9.1, système de gestion de sources distribué
Extensions chargées : convert, graphlog, mq, progress, prompt, rebaseif, color
Traceback (most recent call last):
File "/usr/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 27, in run
sys.exit(dispatch(request(sys.argv[1:])))
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 64, in dispatch
return _runcatch(req)
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 87, in _runcatch
return _dispatch(req)
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 679, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 454, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/pymodules/python2.7/mercurial/extensions.py", line 182, in wrap
return wrapper(origfn, *args,
kwargs)
File "/usr/lib/pymodules/python2.7/hgext/color.py", line 368, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 733, in _runcommand
return checkargs()
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 687, in checkargs
return cmdfunc()
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 676, in <lambda>
d = lambda: util.checksignature(func)(ui, args, cmdoptions)
File "/usr/lib/pymodules/python2.7/mercurial/util.py", line 385, in check
return func(*args,
kwargs)
File "/usr/lib/pymodules/python2.7/mercurial/dispatch.py", line 345, in call
util.checksignature(self.fn)(ui,
args, opts)
File "/usr/lib/pymodules/python2.7/mercurial/util.py", line 385, in check
return func(*args,
kwargs)
File "/usr/lib/pymodules/python2.7/mercurial/extensions.py", line 137, in wrap
util.checksignature(origfn), *args, kwargs)
File "/usr/lib/pymodules/python2.7/mercurial/util.py", line 385, in check
return func(*args,
kwargs)
File "/home/cfurmaniak/hg-ext/ml-hgext/rebaseif.py", line 60, in pullrebaseif
cmdutil.bail_if_changed(repo)
AttributeError: 'module' object has no attribute 'bail_if_changed'
</pre>

Comments (2)

  1. Log in to comment