gem5/util/style
Andreas Sandberg 22ff270b17 style: Add repository helper functions
Add an AbstractRepo class and implementations for git and Mercurial
that provide a common interface to query repository status for style
checkers. The class defines the interfaces to list modified files that
are about to be committed and methods to identify changed regions.

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Steve Reinhardt <steve.reinhardt@amd.com>

--HG--
rename : util/style.py => util/hgstyle.py
extra : rebase_source : da1f482a1ecac2b0be437dc400b4a66bd3b301cc
2016-03-30 15:33:04 +01:00
..
__init__.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
file_types.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
region.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
repo.py style: Add repository helper functions 2016-03-30 15:33:04 +01:00
sort_includes.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
style.py style: Refactor the style checker as a Python package 2016-03-30 15:30:32 +01:00
verifiers.py style: Add a control character checker 2016-03-30 15:31:23 +01:00