Mercurial > public > develkit
view scripts/hg-audit.sh @ 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 | 40316e0cdef2 |
children |
line wrap: on
line source
/** Creates abbreivated changeset log report of all HG repos under the current directory. Adjust the date before executing. */ template = "{date|isodate}\\t{rev}:{node|short}\\t{author|user}\\t{desc|firstline}\\t{files}\\n" cmd = 'log -d">2015-04-01" --template "' + template + '"' new File(".").eachDirRecurse { d -> if ( new File(d,".hg").exists() ) { def out = new File("${d.name}-changesets.txt") out.delete() out << "$d.name: $cmd \n-----------------------------------" out << "hg -R ${d.absolutePath} ${cmd}".execute().text } } // hg log -l 10 --template "{date|isodate}\t{rev}:{node|short}\t{author}\t{desc}\t{files}\n"