view scripts/pullall.groovy @ 202:b217dc3b654a

USASR-1835: Attempt to fix quoting of database name in sql
author Christopher Springer <springer@nwoca.org>
date Fri, 21 Aug 2015 12:40:01 +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
      
  }
}