Bug 477148
Summary: | Tailor Mercurial repository broken by mercurial 1.1 upgrade | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Berrangé <berrange> | ||||
Component: | tailor | Assignee: | Dan Horák <dan> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9 | CC: | dan | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | http://progetti.arstecnica.it/tailor/ticket/172 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-12-30 23:42:23 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
Daniel Berrangé
2008-12-19 12:04:25 UTC
Created attachment 327436 [details]
Detect correct findcmd syntax for Mercurial 1.1
The problem appears to be that the syntax of mercurial's 'findcmd' method in /usr/lib64/python2.5/site-packages/mercurial/cmdutil.py change from:
def findcmd(ui, cmd, table):
to
def findcmd(cmd, table, strict=True):
Tailor was determining what syntax to use based on number of arguments. Since both old and new now have same number of arguments, I'm adding a further test. This time checking the name of the first argument.
FYI the tailor script I tested this with is #!/usr/bin/env tailor """ [DEFAULT] verbose = True [project] target = hg:target start-revision = INITIAL root-directory = /home/berrange/src/xen patch-name-format = state-file = libvirt-hg.state source = cvs:source subdir = libvirt-hg [cvs:source] module = libvirt repository = :pserver:anoncvs:2401/data/cvs [hg:target] """ Hi Daniel, thanks for such perfect report, the issue is known upstream, see URL. I will contact the author. tailor-0.9.35-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/tailor-0.9.35-3.fc10 tailor-0.9.35-3.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/tailor-0.9.35-3.fc9 tailor-0.9.35-3.fc9 has been pushed to the Fedora 9 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-newkey update tailor'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-11469 tailor-0.9.35-3.fc10 has been pushed to the Fedora 10 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/F10/FEDORA-2008-11546 tailor-0.9.35-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. tailor-0.9.35-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |