view scripts/hgall.groovy @ 182:0de8c0720fb4

treat hotfix as release status
author smith@nwoca.org
date Fri, 19 Dec 2014 20:25:12 +0000
parents f351338a3b3a
children
line wrap: on
line source

cmd = args ? args.join(' ') : 'out'

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

   if  ( new File(d,".hg").exists() ) {   
     println "$d.absolutePath: $cmd \n-----------------------------------"      
     println  "hg -R ${d.absolutePath} ${cmd}".execute().text
      
  }
}