[webkit-dev] A tip for committers

Adam Roben aroben at apple.com
Thu Mar 3 06:45:50 PST 2011


All committers are encouraged to follow the instructions I just added to <http://trac.webkit.org/wiki/CommitterTips#Walkingyouthroughyourfirstcommit>:

> Subversion has a handy feature called auto-props that will ensure that new binary files you add to the repository are given the correct MIME type. To set this up, find the following two lines in ~/.subversion/config and uncomment them:
> 
> enable-auto-props = yes
> 
> *.png = svn:mime-type=image/png
> 
> Note that this will work even if you use git-svn to commit changes to WebKit.

This will prevent your webkit-changes emails from being filled with gobbledy-gook like this:

> +\x89PNG
> +
> +
> +IHDR X'bKGD\xFF\xFF\xFF\xA0\xBD\xA7\x93 IDATx\x9C\xED\xDD{\x90\x95\xE5}\xC0\xF1\xF7\xC8\xCBeq\x97\x8B\x90%q) \xC2RASk:8\x89\xB9\xD0L\xB5Tt'\xEB0:\xA3i
> +4b
\xA3S#"SsA\x89Q[\xB0x	jiA#7\x89\xB2Fv\xB9(7Yݷ\x9C\x99\x9D\xCD^\xEF.?\xF4\xF3\xF9\xEBx\xF6}\xDF\xE7y\xDEs\x8E\xFB\x9D\xF7
\xCE\xE6\xD24M\x88sډ\x9E\xC0g\x8D\xC0&\xB0\x82	,\x80` \x98\xC0&\xB0\x82	,\x80` \x98\xC0Vt,;\xEF޽\xFB\xE0\xC1\x83EEE\xBD{\xF7nx\xBBUy\xF7\xDDw\xB7o\xDF>lذ\xAE]\xBB6\xFDiuuummmII\xC9駟ު\xC3VUU%Iҽ{\xF7Ν;\xB7j\xC7cת\xA1\xDB|\xDEZ\xA5ͧ\xB1\x91\x96f\xBBgϞ\xB4k׮O\x9F>Y\xB6\xCF\xE2\xFD\xF7\xDF?t\xE8P\xA7N\x9Dz\xF4\xE8\xD1\xDA}[\x9Aϧ\xE0x<\xA0Q\x9F\x9ALW\xB0\xDE{\xEF\xBD\xFA\xA7z\xE6\x99gݿ}\xFB\xF6\xDBn\xBB\xED\xE2\x8B/nt;\xBB|\xF0_\xFE\xE5_fϞ\xFD\xEC\xB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B9{\xF7\xEEy\xF3\xE6%Ir\xDDuםq\xC6M\xC7ݷo\xDF̙3kkk'L\x98PVVV`>\xAF\xBE\xFA\xEA\xE6͛\x93$\xE9ٳ\xE7\xF0\xE1ß{\xEE\xB9$I*++\xCF?\xFF\xFCfڱc\xC7c\x8F=\xF6\xC1\x9Cs\xCE9\xD7_}\xFE Y\x86>ꜛ\xCE\x{DDFF}\xFDm]]]\x92$\x83\xBE\xE0\x82\xEA\xB7|\xF7\xDDwW\xAE\\x99$\xC9СC

(My hat is off to those brave souls who keep the bots green by rebaselining tests. My hat will be even more off to you if you follow this tip!)

-Adam



More information about the webkit-dev mailing list