We have a large MKS project (Integrity 2007) where every sub-folder is a sub-project itself. The project is checkpointed ~180 times, always from the root project.
I'm trying to use the 1.2 improved MKS SVN importer but I get the following error:
- Code: Select all
09:18:05,606 [main] INFO Exec:84 - exec C:/Program Files/MKS/IntegrityClient/bin/si.exe rlog --batch -R --project=e:/Source/patches/projects/audio/project.pj --projectRevision=1.30 --headerformat=MEMBERNAME:{membername}
RELMEMBERNAME:{relativemembername}
ATTR:{attributes}
FORMAT:{format}
--format=REVISION:{revision}
AUTHOR:{author}
DATE:{date}
DESCRIPTION:
{description}
END_DESCRIPTION
--trailerformat=**********
audio.c
09:18:05,715 [stderr] INFO Exec:84 - *** MKS125211: The project file e:/Source/patches/projects/audio/project.pj is not registered with the current server.
09:18:05,919 [main] DEBUG Exec:80 - Process exit value: 128
This is most likely not a problem with the importer. Both e:/Source/patches/projects/project.pj and e:/Source/patches/projects/audio/project.pj are sub-projects that have been dropped and are no longer part of trunk but exist in previous checkpoints i.e. revision 1.30 above does exist.
I can get the same error in the GUI client by doing this:
- Expand project view to e:/Source/patches/
- View project history for e:/Source/patches/project.pj
- View project for an old revision that contains the sub-project
- Expand e:/Source/patches/projects/audio/
- Try to view project history for e:/Source/patches/projects/audio/project.pj -> MKS125211 error
I can then do a workaround:
- Try to view member history for e:/Source/patches/projects/audio/audio.c that is part of the sub-project -> this works
- Try again to view project history for e:/Source/patches/projects/audio/project.pj -> now it works
This works for the project until someone restarts the MKS server. I guess this is a problem in the MKS server with dropped sub-projects containing other sub-projects. We have a support issue with MKS regarding this but are still waiting for their latest answer. We have a lot of these types of dropped sub-projects in the root project so it is "impossible" to do this manually for every error we encounter.
Is there a way to modify the svnimporter to do something similar as the workaround above?
