I’m experiencing this same problem, but it is intermittent.


After investigating, it seems that the problem only occurs if the externals are defined using the newer recommended format of url to source followed by local destination folder.  If the externals are in the format where the local destination folder comes first, I don’t see the error.


It should probably support the format with url first because now the 1.7+ versions of TortoiseSVN automatically create them that way.


Paul Willworth

Build Engineer

Portland General Electric


From: Glenn Boysko [mailto:glenn.boysko@sentrana.com]
Sent: Thursday, May 10, 2012 1:05 PM
To: cruisecontrol-user@lists.sourceforge.net
Subject: Re: [Cruisecontrol-user] modificationset with svn externals


I think the SVN task code is assuming that externals are in the working directory.


I was viewing the SVN commands that the task was generating and it failed to include the child subdirectory of the working directory. If the external was at the root working directory, it worked.


From: Julian Simpson [mailto:simpsonjulian@gmail.com]
Sent: Thursday, May 10, 2012 2:54 PM
To: cruisecontrol-user@lists.sourceforge.net
Subject: Re: [Cruisecontrol-user] modificationset with svn externals



On Wednesday, 2 May 2012, Glenn Boysko wrote:

It appears that the root problem may be relate to the fact these externals in subdirectories underneath the localWorkingCopy root.


Looking at SVN.java, it seems it is forming the SVN LOG command incorrectly. It doesn’t include the path to the LOG command. It seems like in getModifications that it should be using the directory in the svnURL parameter.



Do you think it's depending on the working directory?





From: Glenn Boysko [mailto:glenn.boysko@sentrana.com]
Sent: Wednesday, May 02, 2012 11:45 AM
To: cruisecontrol-user@lists.sourceforge.net
Subject: [Cruisecontrol-user] modificationset with svn externals


Hello All:


Has anyone else had problems with CruiseControl (2.8.4) identifying modifications in an SVN repository that contains externals?


I am setting checkExternals="true" in my svn element (which is a child of modifcationset).


I am finding that the cruisecontrol.log contains lines of the form:


2012-05-02 09:30:47,846 [Thread-28140] WARN  SVN              - svn: 'Xyz' is not under version control

2012-05-02 09:30:47,854 [Thread-28137] ERROR SVN              - Error executing svn log command svn log --non-interactive --xml -v -r '"{2012-04-29T12:12:57Z}":"{2012-05-02T13:30:47Z}"' --no-auth-cache --username foobar --password foobar Xyz


The svn:externals property is defined for this directory as:


^/Common/CSharp/Xyz Xyz


Also, within the svn element I set localWorkingCopy.




Julian Simpson

The Build Doctor Ltd.



(+44) 207 183 0323