diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-03-30 15:36:16 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-03-30 15:36:16 +0100 |
commit | 5dc1790cf69cb1446facc1052a6b1d3df9fadc6a (patch) | |
tree | be457800036890fac42d4a0dc5103b650054e47a /util/stats/barchart.py | |
parent | 588ecad91914a861d04dd83d2fea070b3ba4b24b (diff) | |
download | gem5-5dc1790cf69cb1446facc1052a6b1d3df9fadc6a.tar.xz |
style: Add a style checker that doesn't depend on Mercurial
The current style checker script, hgstyle.py, assumes that it is being
run from Mercurial. This means that it depends on the Mercurial Python
libraries, which aren't necessarily present if using git. This
changeset adds a new style checker script, style.py, that has
been designed to be run from the command line.
The script has support for detecting which revision control system is
used and is able to query both git and Mercurial for changes. This
enables the script to operate on modified regions and/or all of the
modified files in the repository.
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Steve Reinhardt <steve.reinhardt@amd.com>
--HG--
extra : rebase_source : 2b420aff79d190f32557bc8822518cbc5d93e999
Diffstat (limited to 'util/stats/barchart.py')
0 files changed, 0 insertions, 0 deletions