SVN Pathname not terminated by ':'
プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。
問題
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.
診断ステップ
- 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.