trac multirepos branch and Hg 1.3

0 views
Skip to first unread message

Georg

unread,
Jul 6, 2009, 5:59:07 PM7/6/09
to trac...@googlegroups.com
Hi,

I'm getting an invalid keyword arg error from ui.__init__() when using Trac multirepos and the Mercurial plugin on top of the recently released Hg 1.3.  It seems the Hg API has changed, they don't accept an interactive flag as a kwarg any more.

I get it to work with simply removing the offending line:

hunter[22]$ svk diff
=== tracext/hg/backend.py
==================================================================
--- tracext/hg/backend.py    (revision 8344)
+++ tracext/hg/backend.py    (local)
@@ -284,7 +284,6 @@
 class trac_ui(ui):
     def __init__(self, log, *args, **kwargs):
         kwargs = kwargs.copy()
-        kwargs['interactive'] = False
         ui.__init__(self, *args, **kwargs)
         self.log = log

--
Regards,
Georg.

Remy Blank

unread,
Jul 6, 2009, 7:48:34 PM7/6/09
to trac...@googlegroups.com
Georg wrote:
> I'm getting an invalid keyword arg error from ui.__init__() when using
> Trac multirepos and the Mercurial plugin on top of the recently released
> Hg 1.3. It seems the Hg API has changed, they don't accept an
> interactive flag as a kwarg any more.

Could you please open a new ticket on http://trac.edgewall.org and
attach your patch? Thanks.

-- Remy

signature.asc
Reply all
Reply to author
Forward
0 new messages