Looks like some internal commands moved around in the Mercurial source.
Here's a patch that seems to work for me:

New patches:

[[Mercurial] Look for findcmd in module cmdutil instead of module commands.
[EMAIL PROTECTED]
 The findcmd() function was recently moved to cmdutil in Mercurial's changeset 
0c61124ad877
 
] {
hunk ./vcpx/repository/hg.py 16
-from mercurial import ui, hg, commands
+from mercurial import ui, hg, commands, cmdutil
hunk ./vcpx/repository/hg.py 326
-        if hasattr(commands, 'findcmd'):
-            if commands.findcmd.func_code.co_argcount == 1:
-                findcmd = commands.findcmd
+        if hasattr(cmdutil, 'findcmd'):
+            if cmdutil.findcmd.func_code.co_argcount == 1:
+                findcmd = cmdutil.findcmd
hunk ./vcpx/repository/hg.py 331
-                    return commands.findcmd(self._getUI(), cmd)
+                    return cmdutil.findcmd(self._getUI(), cmd)
}



_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to