Bug 435617
Summary: | tailor can't convert from svn to hg | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martín Marqués <martin.marques> | ||||
Component: | tailor | Assignee: | Dan Horák <dan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | noarch | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.9.30-1.fc8 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-13 07:46:11 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Martín Marqués
2008-03-02 16:21:48 UTC
Created attachment 296516 [details]
tailor file used in --configfile
Can you try to update tailor to 0.9.30 from the RPMs at http://koji.fedoraproject.org/koji/buildinfo?buildID=40773 and do your tests again? Dan thanks for the fast response. First, I found that Fedora has a python-vcpx package which contains the hg.py file that gave the error, So checking hg.py from 0.9.30 I made this patch which made tailor work: $ diff -u hg-tailor-orig.py hg-tailor.py --- hg-tailor-orig.py 2008-03-02 14:49:29.000000000 -0200 +++ hg-tailor.py 2008-03-02 14:48:47.000000000 -0200 @@ -326,8 +326,12 @@ # findxxx() is not public, and to make that clear, hg folks # keep moving the function around... if hasattr(cmdutil, 'findcmd'): # >= 0.9.4 - def findcmd(cmd): - return cmdutil.findcmd(self._getUI(), cmd) + 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 + def findcmd(cmd): + return cmdutil.findcmd(self._getUI(), cmd, commands.table) elif hasattr(commands, 'findcmd'): # < 0.9.4 if commands.findcmd.func_code.co_argcount == 1: findcmd = commands.findcmd Thanks. tailor-0.9.30-1.fc8 has been submitted as an update for Fedora 8 OK, I will push the 0.9.30 version into official updates. That, and python-vcpx 0.9.30 which has the BUG (I guess it will fall in with the dependencies). # rpm -q -R tailor /usr/bin/python python-vcpx = 0.9.29-1.fc8 tailor-0.9.30-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update tailor'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2223 tailor-0.9.30-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |