view scripts/hgcommit.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

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
      
  }
}