E160013: File not found when importing SVN repository

This is an error which I’m getting:

error: svn: E160013: File not found: revision 31288, path ‘/MPE-Main/ControlSystem/Firmware/branches/gen2_2933b_dbseries5/src/anybus’
error: svn: E160013: ‘/svn/mpe/!svn/bc/31288’ path not found: 404 Not Found (http://server)
error: Unexpected error has occurred; please report along with the logs (’/home/git-repos/subgit-configure-20220211-163138.zip’)

I think it is related to SVN externals which were used earlier to this repo. Any suggestions how to follow?

subgit-configure-20220211-163138.zip (4.2 KB)

Hi Adam,

I’m afraid hardly it related to externals. This E160013 error means that the SVN server was responding but for some reason wasn’t able to find the resource SubGit requested: judging from the logs, SubGit tried to get svn log output for that path (to calculate the mapping) but the path is absent in the repository. It may worth to try checking out this path to

svn checkout -r 31288 http://server/svn/mpe/Python/MagnaWeb/MPE-Main/ControlSystem/Firmware/branches/gen2_2933b_dbseries5

Most probably this command will also fail with the same or similar error.
Another way to check the SVN repository is to verify it locally:

svnadmin verify <path to SVN repository>

This command should show repository problems.

A possible workaround to create configuration is to use the layout standard option and then set the mapping manually. The drawback, however, is that the import will fail anyway if there is a problem with that file in history, so the best way is to fix the issue in the repository first.