|
Hi, I updated Mercurial to verstion 1.3 and then Hg based Trac environments stopped working. The error was: File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5rc1-py2.6.egg/trac/versioncontrol/api.py", line 157, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File "build/bdist.linux-x86_64/egg/tracext/hg/backend.py", line 218, in get_repository File "build/bdist.linux-x86_64/egg/tracext/hg/backend.py", line 165, in _setup_ui File "build/bdist.linux-x86_64/egg/tracext/hg/backend.py", line 262, in __init__ TypeError: __init__() got an unexpected keyword argument 'interactive' 258class trac_ui(ui): 259 def __init__(self, log, *args, **kwargs): 260 kwargs = kwargs.copy() 261 kwargs['interactive'] = False 262 ui.__init__(self, *args, **kwargs) Actually, 'interactive' as used at http://trac.edgewall.org/browser/sandbox/mercurial-plugin-0.11/tracext/hg/backend.py?rev=8352#L261 is not valid to Mercurial since its r8136, i.e., before version 1.3 Stripping backend.py line 261 seems to work. Regards, André --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
