Bug 2219802 - "svnadmin verify" problem with non utf8 pathname
Summary: "svnadmin verify" problem with non utf8 pathname
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subversion
Version: 8.7
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Richard Lescak
QA Contact: rhel-cs-infra-services-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-05 12:24 UTC by Paulo Andrade
Modified: 2023-08-04 16:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-161571 0 None None None 2023-07-05 12:26:13 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.