[Webkit-unassigned] [Bug 75825] webkit-patch land should automatically add svn:mime-type for .png files
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 9 12:28:06 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=75825
Dirk Pranke <dpranke at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #140967|review?, commit-queue? |review+, commit-queue-
Flag| |
--- Comment #16 from Dirk Pranke <dpranke at chromium.org> 2012-05-09 12:27:07 PST ---
(From update of attachment 140967)
View in context: https://bugs.webkit.org/attachment.cgi?id=140967&action=review
marking cq- just so you can take a look at my suggestion and see if it works. looks good otherwise.
> Tools/Scripts/webkitpy/common/checksvnconfigfile.py:51
> + for line in config_file.split('\n'):
I wonder if this would be easier and clearer if you didn't split the file and just did two re.search()'s against the whole string, i.e.
errorcode_autoprops = not re.search("\s*enable-auto-props\s*=\s*yes", config_file)
errorcode_png = not re.search("\s*\*\.png\s*=\s*svn:mime-type=image/png", config_file)
or something like that (I'm not sure how you'd handle commented out lines, so you might have to experiment a bit)?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list