diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/tailor-python25/Portfile devel/tailor-python25/Portfile
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/tailor-python25/Portfile	1970-01-01 01:00:00.000000000 +0100
+++ devel/tailor-python25/Portfile	2009-04-13 15:40:52.000000000 +0200
@@ -0,0 +1,28 @@
+# $Id: Portfile 32006 2007-12-13 12:43:04Z ryandesign@macports.org $
+
+PortSystem          1.0
+PortGroup           python25 1.0
+
+name                tailor-python25
+version             0.9.35
+categories          devel python
+distname            tailor-${version}
+maintainers         deric@caveo.se
+description         Tailor is a tool to migrate changesets between different \
+                    source control management systems.
+long_description    Tailor is a tool to migrate changesets between ArX, \
+                    Bazaar, Bazaar-NG, CVS, Codeville, Darcs, Git, Mercurial, \
+                    Monotone, Subversion and Tla repositories. It is \
+                    implemented in Python.
+
+homepage            http://www.darcs.net/DarcsWiki/Tailor
+master_sites        http://darcs.arstecnica.it/
+checksums           md5     58a6bc1c1d922b0b1e4579c6440448d1 \
+                    sha1    442d1d11bf4ba5d54684f78783f94f753a02292e \
+                    rmd160  a3fc4339c6e7ce1397584363d127ae1219ee3888
+patchfiles             patch-hg.py.diff
+post-destroot {
+    # install docs
+    xinstall -m 644 -W ${worksrcpath} README.rst README.html \
+        ${destroot}/${prefix}/share/doc/${name}
+}
diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/tailor-python25/files/patch-hg.py.diff devel/tailor-python25/files/patch-hg.py.diff
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/tailor-python25/files/patch-hg.py.diff	1970-01-01 01:00:00.000000000 +0100
+++ devel/tailor-python25/files/patch-hg.py.diff	2009-04-13 15:40:52.000000000 +0200
@@ -0,0 +1,26 @@
+--- vcpx/repository/hg.py.orig	2009-02-10 11:10:31.000000000 +0000
++++ vcpx/repository/hg.py	2009-02-10 11:11:32.000000000 +0000
+@@ -100,7 +100,7 @@
+ 
+         from mercurial.node import bin
+         for rev in xrange(repo.changelog.rev(bin(sincerev)) + 1,
+-                          repo.changelog.count()):
++                          len(repo.changelog)):
+             yield self._changesetForRevision(repo, str(rev))
+ 
+     def _applyChangeset(self, changeset):
+@@ -343,9 +343,12 @@
+             if cmdutil.findcmd.func_code.co_argcount == 2:     # 0.9.4
+                 def findcmd(cmd):
+                     return cmdutil.findcmd(self._getUI(), cmd)
+-            elif cmdutil.findcmd.func_code.co_argcount == 3:   # 0.9.5
++            elif cmdutil.findcmd.func_code.co_argcount == 3: #  >= 0.9.5
+                 def findcmd(cmd):
+-                    return cmdutil.findcmd(self._getUI(), cmd, commands.table)
++                    if cmdutil.findcmd.func_code.co_varnames[0] == "ui": # < 1.1.0
++                        return cmdutil.findcmd(self._getUI(), cmd, commands.table)
++                    else: # >= 1.1.0
++                        return cmdutil.findcmd(cmd, commands.table)
+         elif hasattr(commands, 'findcmd'):         # < 0.9.4
+             if commands.findcmd.func_code.co_argcount == 1:
+                 findcmd = commands.findcmd

