view scripts/pullall.groovy @ 232:47535c8358ce

DEP-13: adjust init script to handle both 2.+ and 3.1. Disable sonar for 3.1+
author smith@nwoca.org
date Tue, 18 Oct 2016 18:29:04 +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
      
  }
}