Bug 2219802

Summary: "svnadmin verify" problem with non utf8 pathname
Product: Red Hat Enterprise Linux 8 Reporter: Paulo Andrade <pandrade>
Component: subversionAssignee: Richard Lescak <rlescak>
Status: NEW --- QA Contact: rhel-cs-infra-services-qe <rhel-cs-infra-services-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.7CC: jorton, rlescak
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
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:

Description Paulo Andrade 2023-07-05 12:24:04 UTC
Message:

"""
WARNING 0x0002: E160005: While validating fspath 'non-utf8-path.ext': Path 'non-utf8-path.txt' is not in UTF-8
* Error verifying revision 52.
svnadmin: E160005: Path 'non-utf8-path.txt' is not in UTF-8
"""

is printed when running:

$ svn admin very path

The pathname has more than 5000 revisions.

Is there some way to edit the revision somehow and/or rename the file to
avoid the issue?

Can the repository be dumped/restored safely from rhel7 to rhel8? Maybe it
could be fixed with svndumpfilter, if yes, what would be a way to correct
the problem?

Comment 1 Joe Orton 2023-07-11 14:54:43 UTC
Seeing package versions and more background on the repro case would be helpful here.

Is this is a repo dumped by RHEL7 svnadmin, and being loaded by RHEL8 svnadmin (Subversion 1.10)?

"svndumpfilter exclude" may work, see https://svnbook.red-bean.com/en/1.7/svn.ref.svndumpfilter.commands.c.exclude.html

We could dig more into this if you confirm exactly what they're trying to do.