One file is not loading after migration

Hi,

We are trying to migrate a SVN repository where we are able to get the commit history but one of the file is not loading in one of the branches.

Below are the mappings that we have used-
SVN URL was set to https://svn.dts.fm.rbsgrp.net/bondsyndicate/

trunk = STUART/trunk:refs/heads/master
branches = STUART/branches/:refs/heads/
tags = STUART/tags/:refs/tags/

When we go the one of the migrated branch, Strategic+Underwriting , a file ImportLoanIQ_UW_Merge.sql located at path Avalon/Feeds/LoanIQ/Database/Procs fails to load and throws below mentioned error-

’/opt/app/dts/git/v2.9.5/bin/git ls-tree -z Strategic+Underwriting:Avalon/Feeds/LoanIQ/Database/Procs – ImportLoanIQ_UW_Merge.sql’ exited with code 128 saying: warning: refname ‘Strategic+Underwriting’ is ambiguous. fatal: Not a valid object name Strategic+Underwriting:Avalon/Feeds/LoanIQ/Database/Procs

The same file loads fine for master branch .
Attached the screenshots from both the locations of the file.

Please let us know if this can be fixed.

Thanks

Hi,

this is quite ambiguous error that requires additional investigation. May we have the SVN Mirror logs from the affected repository? They can be collected by the Create ZIP feature that’s available on the Support tab in the SVN Mirror add-on UI in the repository. Also, could it be possible to to provide us with files listing of the affected SVN branch and list of branches in the repository?

Hi,

Please find the attached files.
svnmirror_support_r28705_20200828_093439_653.zip (2.7 MB)

List of files under the branch-
list.txt (479.7 KB)

List of branches in SVN repo
Path- https://svn.dts.fm.rbsgrp.net/bondsyndicate/STUART
trunk path - https://svn.dts.fm.rbsgrp.net/bondsyndicate/STUART/trunk
branches-
https://svn.dts.fm.rbsgrp.net/bondsyndicate/STUART/branches/Strategic Underwriting

List of branches in GIT
master
Strategic+Underwriting

Thanks

Hi,

thank you for the logs.

it looks that the issue is caused by that you have a branch and a tag with the same name Strategic+Underwriting (Strategic Underwriting in SVN), so when Git tries to do ls-tree, it can’t comprehend which of those two references to choose. To resolve this issue one of the references should be renamed – for example, the tag. If you intend to re-import the repository, then it can be done in the mapping configuration; otherwise it can just be renamed in Bitbucket.

Hi,

We tried renaming the tag on the bitbucket repository itself and that has resolved the issue. Thank you for the help.

Thanks