view scripts/hgcommit.groovy @ 283:fb30d6042d3c

SSED-1600: Renamed unused init60.gradle to init70.gradle, check for Gradle version 7.0, added resources.text.fromInsecureUri for http referenced resources
author Kyle Miller <kyle.miller@mcoecn.org>
date Thu, 16 Jun 2022 17:42:27 +0100
parents f351338a3b3a
children
line wrap: on
line source

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

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

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