Revision: 1432
http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1432&view=revAuthor: markagreenwood
Date: 2009-07-01 08:33:59 +0000 (Wed, 01 Jul 2009)
Log Message:
-----------
moved the getting of the sandbox inside the try/catch just to be on the safe side
Modified Paths:
--------------
trunk/cow/grails-app/services/SvnService.groovy
Modified: trunk/cow/grails-app/services/SvnService.groovy
===================================================================
--- trunk/cow/grails-app/services/SvnService.groovy 2009-06-30 12:08:04 UTC (rev 1431)
+++ trunk/cow/grails-app/services/SvnService.groovy 2009-07-01 08:33:59 UTC (rev 1432)
@@ -37,9 +37,9 @@
// Do the update
log.info("Starting SVN update on wiki id ${wiki.id}...")
- //Sandbox sandbox = new Sandbox("","",new File("${conf.gate.cow.svnconfig}"))
- Sandbox sandbox = sandboxManager.getSandbox(wiki.path)
try {
+ Sandbox sandbox = sandboxManager.getSandbox(wiki.path)
+
// skip the update if the wiki is locked
def status = sandbox.doStatus(wikiPath, false)
if(status.isLocked()){
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
gatewiki-commits mailing list
gatewiki-commits@...
https://lists.sourceforge.net/lists/listinfo/gatewiki-commits