view scripts/hgall.groovy @ 329:729ee03ee479

use artifactory40.gradle, similar to the init50.gradle script plugin
author Marc Davis <davis@ssdt-ohio.org>
date Thu, 02 Mar 2023 13:04:47 -0500
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
      
  }
}