style: Fixup strange semantics in hg m5style
Review Request #2330 - Created Aug. 13, 2014 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10290:cb87bf7eac9b --------------------------- style: Fixup strange semantics in hg m5style The 'hg m5style' command had some rather strange semantics. When called without arguments, it applied the style checker to all added files and modified regions of modified files. However, when providing a list of files, it used that list as an ignore list instead of specifically checking those files. This patch makes the m5style command behave more like other Mercurial commands where the arguments are used to specify which files to work on instead of which files to ignore.
Posted (Aug. 22, 2014, 12:49 a.m.)
I wanted to ask if anyone had opinions on this one and http://reviews.gem5.org/r/2331/ They are essentially non-contentious fixes, and we need to get them in before some additional patches can be applied. Thanks.
