view scripts/hgall.groovy @ 320:e1c9be00d574

USASR-5111: Updating jar urls.
author Jason Klinger <klinger@nwoca.org>
date Wed, 08 Feb 2023 14:36:19 +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
      
  }
}