Book a Demo

Author Topic: EAP project versioning and SVN commit trigger  (Read 3070 times)

Rafael Ribeiro

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
EAP project versioning and SVN commit trigger
« on: July 17, 2009, 12:29:05 am »
Hi all,

 Has anyone ever needed to provide a commit message on SVN commits through EA package version control?

 In our process we have SVN triggers that matches the change request against a JIRA/Bugzilla system. Is there any means we can provide at least a default chechkin message on EA?

best regards,
Rafael Ribeiro

Rafael Ribeiro

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EAP project versioning and SVN commit trigger
« Reply #1 on: July 17, 2009, 01:10:59 am »
We found an workaround over here, we redirected svn.exe to a batch that appended commit message for certain svn commands.
I guess it is a limitation of our version (7.1) or even a current EA limitation. It only presents commit message dialog when you are changing an already versioned project but when you are selecting a package to become version controlled it does not display that dialog, preventing a checkin in cases like ours.
If anyone is interested I'll provide the batch that we used in our workaround (it is necessary only for the first checkin):
name it svnea.bat and place anywhere (near svn.exe is a good choice)
Code: [Select]
@echo off
if %1 == ci goto message
if %1 == commit goto message
goto :nomessage
:message
c:\progra~1\sliksvn\bin\svn.exe %* -m "[PROJECT-576] model changes"
goto end
:nomessage
c:\progra~1\sliksvn\bin\svn.exe %*
:end