Package: tailor Version: 0.9.35+darcs20090615-1 Severity: important Tags: +patch
Mercurial 1.3.1 seem to have changed ui.py API, as in http://mercurial.selenic.com/wiki/MercurialApi, resulting this error: 17:47:17 [W] Forcing UTF-8 encoding instead of ISO-8859-2 17:47:17 [I] Bootstrapping "feladat" in "/home/grin/hg/tailor/tmp" 17:47:17 [C] Something unexpected! Traceback (most recent call last): File "/usr/lib/pymodules/python2.5/vcpx/tailor.py", line 153, in __call__ self.bootstrap() File "/usr/lib/pymodules/python2.5/vcpx/tailor.py", line 71, in bootstrap dwd = self.workingDir() File "/usr/lib/pymodules/python2.5/vcpx/project.py", line 209, in workingDir self.dwd = DualWorkingDir(self.source, self.target) File "/usr/lib/pymodules/python2.5/vcpx/dualwd.py", line 68, in __init__ self.target.prepareTargetRepository() File "/usr/lib/pymodules/python2.5/vcpx/target.py", line 586, in prepareTargetRepository self._prepareTargetRepository() File "/usr/lib/pymodules/python2.5/vcpx/repository/hg.py", line 588, in _prepareTargetRepository self._getUI() File "/usr/lib/pymodules/python2.5/vcpx/repository/hg.py", line 361, in _getUI self._ui = ui.ui(project.verbose, debug, not debug, False) TypeError: __init__() takes at most 2 arguments (5 given) And I fixed it by doing: --- /usr/share/pyshared/vcpx/repository/hg.py-1 2009-06-15 11:03:24.000000000 +0200 +++ /usr/share/pyshared/vcpx/repository/hg.py 2009-09-02 17:51:55.667270139 +0200 @@ -358,7 +358,7 @@ except AttributeError: project = self.repository.projectref() debug = project.config.get(self.repository.name, 'debug', False) - self._ui = ui.ui(project.verbose, debug, not debug, False) + self._ui = ui.ui() return self._ui def _getRepo(self): But bear in mind that I have _absolutely_ no knowledge about the inner working of the API whatsoever. I may have broken it. Or not. Check it carefully. :-) And obviously it makes 'project' and 'debug' objects useless, whatever their original purpose ought have been... -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (2000, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.30.5-narya2 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/bash Versions of packages tailor depends on: ii python 2.5.4-2 An interactive high-level object-o ii python-support 1.0.3 automated rebuilding support for P Versions of packages tailor recommends: ii rsync 3.0.6-1 fast remote file copy program (lik Versions of packages tailor suggests: ii bazaar 1.4.2-5.4 arch-based distributed revision co pn bzr <none> (no description available) pn codeville <none> (no description available) ii cvs 1:1.12.13-12 Concurrent Versions System pn darcs <none> (no description available) ii git-core 1:1.6.3.3-2 fast, scalable, distributed revisi ii mercurial 1.3.1-1 scalable distributed version contr ii monotone 0.44-2 A distributed version (revision) c ii subversion 1.6.5dfsg-1 Advanced version control system pn tla <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

