Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1908453

Summary: meld: svn broken due to python API changes. Patch attached.
Product: [Fedora] Fedora Reporter: Gilboa Davara <gilboad>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: bdpepple, cwickert, dmaphy, lkundrak, oliver
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
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 Flags
meld SVN fix. none

Description Gilboa Davara 2020-12-16 17:57:00 UTC
Created attachment 1739728 [details]
meld SVN fix.

Description of problem:
Post upgrade to Fedora 33, meld/svn combo no longer works due to Python API deprecation.
See: https://gitlab.gnome.org/GNOME/meld/-/issues/526
For some odd reason I couldn't clean patch meld using the supplied fix so I simply manually created a new patch.
As far as I can see, it works cleanly.


Version-Release number of selected component (if applicable):
meld-3.21.0-5.fc33.noarch


How reproducible:
Always


Steps to Reproduce:
Run meld in SVN root directory.


Actual results:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/meld/task.py", line 110, in iteration
    ret = task()
  File "/usr/lib/python3.9/site-packages/meld/vc/_vc.py", line 277, in refresh_vc_state
    self._update_tree_state_cache(path)
  File "/usr/lib/python3.9/site-packages/meld/vc/svn.py", line 188, in _update_tree_state_cache
    for entry in target.iter(tag="entry"):
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'