Build 1985: Subversion externals not respected

Hi,

 I found a serious bug with in the handling of subversion externals. It seems that they are not handled case-sensitive.

Test scenario:

- At the root of the svn repository I created two folders: "waldfee" and "Waldfee2" (notice the uppercase letter). Bot contain two identical svn:externals.

- At Continua, I created two Project Repositories. Both with the same Repo URL, but with different Default Paths: "/waldfee/" and "/Waldfee2".

And this is what the debug log reads:

 For waldfee:

Medium: 09:52:01 [Debug] SVN: GetNewChangesets -> SVNLog returned 0 changesets. Adding details of externals to each changeset
Medium: 09:52:01 [Debug] SVN: GetNewChangesets -> '0' branches in repository branches cache
Medium: 09:52:01 [Debug] SVN: GetNewChangesets -> Detect and checkout mode - detecting changesets for each external
Medium: 09:52:01 [Debug] SVN: GetNewChangesetsFromExternals -> Start
Medium: 09:52:01 [Debug] SVN: GetNewChangesetsFromExternals -> Got list of '{0}' branch paths from cache.
Medium: 09:52:01 [Debug] SVN: GetNewChangesetsFromExternals -> Getting new changesets from externals for full default branch '/waldfee/'.
Medium: 09:52:01 [Debug] SVN: GetNewChangesetsFromExternals -> Getting externals for working folder 'D:\CI\Rc\6a6687b3' and full branch path '/waldfee/'
Medium: 09:52:01 [Debug] SVN: GetStoredFolderAndSubFolderExternals -> Getting external for repository relative url '/waldfee/'
Medium: 09:52:01 [Debug] SVN: GetStoredFolderAndSubFolderExternals -> Returning list of 2 externals for repository relative url '/waldfee/'

... both externals are detected.

For Waldfee2:

Medium: 09:49:36 [Debug] SVN: GetNewChangesets -> SVNLog returned 0 changesets. Adding details of externals to each changeset
Medium: 09:49:36 [Debug] SVN: GetNewChangesets -> '0' branches in repository branches cache
Medium: 09:49:36 [Debug] SVN: GetNewChangesets -> Detect and checkout mode - detecting changesets for each external
Medium: 09:49:36 [Debug] SVN: GetNewChangesetsFromExternals -> Start
Medium: 09:49:36 [Debug] SVN: GetNewChangesetsFromExternals -> Got list of '{0}' branch paths from cache.
Medium: 09:49:36 [Debug] SVN: GetNewChangesetsFromExternals -> Getting new changesets from externals for full default branch '/Waldfee2/'.
Medium: 09:49:36 [Debug] SVN: GetNewChangesetsFromExternals -> Getting externals for working folder 'D:\CI\Rc\4dea3e11' and full branch path '/Waldfee2/'
Medium: 09:49:36 [Debug] SVN: GetStoredFolderAndSubFolderExternals -> Getting external for repository relative url '/waldfee2/'
Medium: 09:49:36 [Debug] SVN: GetStoredFolderAndSubFolderExternals -> Returning list of 0 externals for repository relative url '/waldfee2/'

... no external is detected.

I think the problem is here: Getting external for repository relative url '/waldfee2/'

The URL is converted to lower case, but since subversion works case-sensitive, the URL is misinterpreted and no externals are found.

Regards

Andreas

Hi Andreas

Thanks for the report, we’ll take a look at it today.

Hi Andreas,

This has now been fixed in the latest hotfix version 1.0.0.2035 which is now available from the Continua CI downloads page.