SVN Pathname not terminated by ':'
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
When scanning a SVN repository the following error occurs in the log:
com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E200020: Pathname not terminated by ':' org.apache.subversion.javahl.ClientException: svn: E200020: Pathname not terminated by ':' org.tmatesoft.svn.core.SVNException: svn: E200020: Pathname not terminated by ':' org.tmatesoft.svn.core.SVNException: svn: E200020: Pathname not terminated by ':'
診断
環境
- The error is specific to SVN and occurs only when the
mergeinfo
file has been corrupted for a specific commit.
Diagnostic Steps
- Find the specific commit causing the error in the debug logs.
- Run the
svn diff -r
command found in Step 1, from the command line to confirm that the repository itself is the cause and not Fisheye/Crucible
原因
Whether intentionally or unintentionally, the mergeinfo
has been either corrupted, manually changed, or deleted.
回避策
Specify a revision in Administration >> Repositories >> <name of repository> >> SCM Details >> Start Revision
after the corrupted commit.
ソリューション
Create a backup of the affected SVN repository before making any changes.
Use the command svn propedit svn:mergeinfo <directory>
to open the mergeinfo
file in a text editor and fix the file manually. This article might provide some insight.