view scripts/pullall.groovy @ 177:629ee17d6f39

convert branch repo to pattern layout
author smith@nwoca.org
date Sat, 13 Dec 2014 17:11:06 +0000
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
      
  }
}