view scripts/hgcommit.groovy @ 253:46064f36ae31

remove old jaranalyzer and replace with stub to avoid breaking projects
author smith@nwoca.org
date Thu, 01 Feb 2018 21:17:20 +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
      
  }
}