Hello,
after upgrading to latest mercurial tree I started to get
exceptions. This fixed it:
diff -rN -u old-tailor/vcpx/repository/hg.py new-tailor/vcpx/repository/hg.py
--- old-tailor/vcpx/repository/hg.py 2006-10-10 17:41:40.000000000 +0200
+++ new-tailor/vcpx/repository/hg.py 2006-10-10 17:41:40.000000000 +0200
@@ -306,11 +306,7 @@
def _defaultOpts(self, cmd):
# Not sure this is public. commands.parse might be, but this
# is easier, and while dispatch is easiest, you lose ui.
- if hasattr(commands, 'findcmd'):
- findcmd = commands.findcmd
- else:
- findcmd = commands.find
- return dict([(f[1].replace('-', '_'), f[2]) for f in
findcmd(cmd)[1][1]])
+ return dict([(f[1].replace('-', '_'), f[2]) for f in
commands.findcmd(self._ui, cmd)[1][1]])
def _hgCommand(self, cmd, *args, **opts):
import os
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor