This is needed with the latest mercurial: diff -rN -u old-tailor/vcpx/repository/hg.py new-tailor/vcpx/repository/hg.py --- old-tailor/vcpx/repository/hg.py 2007-08-21 19:51:09.000000000 +0200 +++ new-tailor/vcpx/repository/hg.py 2007-08-21 19:51:09.000000000 +0200 @@ -326,8 +326,12 @@ # findxxx() is not public, and to make that clear, hg folks # keep moving the function around... if hasattr(cmdutil, 'findcmd'): # >= 0.9.4 - def findcmd(cmd): - return cmdutil.findcmd(self._getUI(), cmd) + if cmdutil.findcmd.func_code.co_argcount == 2: + def findcmd(cmd): + return cmdutil.findcmd(self._getUI(), cmd) + elif cmdutil.findcmd.func_code.co_argcount == 3: + def findcmd(cmd): + return cmdutil.findcmd(self._getUI(), cmd, commands.table) elif hasattr(commands, 'findcmd'): # < 0.9.4 if commands.findcmd.func_code.co_argcount == 1: findcmd = commands.findcmd
_______________________________________________ Tailor mailing list Tailor@lists.zooko.com http://lists.zooko.com/mailman/listinfo/tailor