https://defect.opensolaris.org/bz/show_bug.cgi?id=16465
Summary: SVN history of filenames containing @ cannot be
retrieved
Classification: Development
Product: opengrok
Version: unspecified
Platform: ANY/Generic
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: scm
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
--- Comment #0 from [email protected] 2010-07-06 12:00:34 UTC ---
We have test data (files) whose names contain @, but opengrok is unable to
obtain their history from a Subversion repository during indexing.
Problem: Failed to get history for:
"/var/opengrok/src/ExchangeServerArchiver_1.1.1/Shared/DevelopmentTests/TestData/RtfInlineImage2K7-231e3f08-5af2-4ec4-b909-05a9a4b874b8@"
Exit code: 1
>From the log's record of the spawned process, I think this is because svn
ignores the @, stripping it from the filename.
>From the commandline, it looks like a double @ is needed:
-- Filename has an @
# ls -la
'Shared/DevelopmentTests/TestData/RtfInlineImage2K7-231e3f08-5af2-4ec4-b909-05a9a4b874b8@'
-rw-r--r-- 1 root root 649728 Jul 5 14:16
Shared/DevelopmentTests/TestData/RtfInlineImage2K7-231e3f08-5af2-4ec4-b909-05a9a4b874b8@
-- SVN says no history exists
# svn log --xml -v
'Shared/DevelopmentTests/TestData/RtfInlineImage2K7-231e3f08-5af2-4ec4-b909-05a9a4b874b8@'
<?xml version="1.0"?>
<log>
svn:
'Shared/DevelopmentTests/TestData/RtfInlineImage2K7-231e3f08-5af2-4ec4-b909-05a9a4b874b8'
is not under version control
-- SVN finds history when double @ is used
# svn log --xml -v
'Shared/DevelopmentTests/TestData/RtfInlineImage2K7-231e3f08-5af2-4ec4-b909-05a9a4b874b8@@'
-- correct history snipped
http://src.opensolaris.org/source/xref/opengrok/trunk/src/org/opensolaris/opengrok/history/SubversionRepository.java#141
svn, version 1.6.12 (r955767)
OpenGrok 0.9
--
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev