view scripts/pullall.groovy @ 260:7b699c240ceb

allow slurper files that have 'parent' settings
author smith@nwoca.org
date Fri, 02 Nov 2018 16:21:16 +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
      
  }
}