view scripts/pullall.groovy @ 174:e949e86b570e

add databaseDrop|Create tasks for managing environment psql databases
author smith@nwoca.org
date Wed, 17 Sep 2014 22:05:37 +0100
parents f351338a3b3a
children
line wrap: on
line source

new File(".").eachDir { d ->

   if  ( new File(d,".hg").exists() ) {   
      println d.name
      
     println  "hg pull -R ${d.name} -u".execute().text
      
  }
}