Here a fix to handle the dry-run vs dry_run and the install of
the repository directory:

diff -rN -u old-tailor/setup.py new-tailor/setup.py
--- old-tailor/setup.py 2006-06-29 04:07:51.000000000 +0200
+++ new-tailor/setup.py 2006-06-29 04:07:51.000000000 +0200
@@ -7,7 +7,7 @@
       version=VERSION,
       author='Lele Gaifax',
       author_email='[EMAIL PROTECTED]',
-      packages=['vcpx'],
+      packages=['vcpx', 'vcpx.repository'],
       scripts=['tailor'],
       description='A tool to migrate changesets between various kinds of '
       'version control system.',
diff -rN -u old-tailor/vcpx/repository/hg.py new-tailor/vcpx/repository/hg.py
--- old-tailor/vcpx/repository/hg.py    2006-06-29 04:07:51.000000000 +0200
+++ new-tailor/vcpx/repository/hg.py    2006-06-29 04:07:51.000000000 +0200
@@ -302,7 +302,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.
-        return dict([(f[1], f[2]) for f in commands.find(cmd)[1][1]])
+        return dict([(f[1].replace('-', '_'), f[2]) for f in 
commands.find(cmd)[1][1]])
 
     def _hgCommand(self, cmd, *args, **opts):
         import os

_______________________________________________
Tailor mailing list
Tailor@lists.zooko.com
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to