Re: modificationset with svn externals

Glenn Boysko <[email protected]> Thu, 10 May 2012 16:05:14 -0400
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <83BDAC2C1FD82D4F80A40EA9ACB9DCA5383CD89CC2@VMBX134.ihostexchange.net>
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:[email protected]]
Sent: Thursday, May 10, 2012 2:54 PM
To: [email protected]
Subject: Re: [Cruisecontrol-user] modificationset with svn externals

Hi,

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?

Best

Julian.
From: Glenn Boysko [mailto:[email protected]<javascript:_e(%7b%7d,%20'cvml',%20'[email protected]');>]
Sent: Wednesday, May 02, 2012 11:45 AM
To: [email protected]<javascript:_e(%7b%7d,%20'cvml',%20'[email protected]');>
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.

Thanks,
Glenn


--
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]<mailto:[email protected]>
(+44) 207 183 0323

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user