From 234fd1c4d8822169b3cfc7beaeff79ad8e471f5c Mon Sep 17 00:00:00 2001 From: Matt Evans Date: Fri, 29 Jun 2012 11:19:06 -0400 Subject: [PATCH] Style: Make style.py's invalid warning print which file caused the infraction. --- util/style.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/style.py b/util/style.py index 498bdf530..2c102b14d 100644 --- a/util/style.py +++ b/util/style.py @@ -244,7 +244,7 @@ class SortedIncludes(Verifier): modified = mod & regions if modified: - self.write("invalid sorting of includes\n") + self.write("invalid sorting of includes in %s\n" % (filename)) if self.ui.verbose: for start, end in modified.regions: self.write("bad region [%d, %d)\n" % (start, end)) -- 2.30.2