Re: modificationset with svn externals
Paul Willworth <[email protected]> Thu, 7 Jun 2012 10:41:35 -0700
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
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:[email protected]] Sent: Thursday, May 10, 2012 1:05 PM To: [email protected] 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:[email protected]]<mailto:[mailto:[email protected]]> Sent: Thursday, May 10, 2012 2:54 PM To: [email protected]<mailto:[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