Add cvs_file_is_binary for ConditionalPropertySetter
commit6aeb180a44dcdf54151cd8912491ce3b76d691ea
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Mon, 28 Mar 2011 07:21:49 +0000 (28 07:21 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Mon, 28 Mar 2011 07:21:49 +0000 (28 07:21 +0000)
treeb14ed6cf2ad39f7629bf854895978ed26b95368b
parente1a06a116279807d8a3fb5565dd6365c44f2333a
Add cvs_file_is_binary for ConditionalPropertySetter

This predicate is useful for applying a property setter only to binary
files.

We use it in the DVCS options file to have a better default for the
KeywordHandlingPropertySetter: "untouched" for binary files.

Patch by: Robin Stocker <robin@nibor.org>

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5331 be7e6eca-30d4-0310-a8e5-ac0d63af7087
cvs2bzr-example.options
cvs2git-example.options
cvs2hg-example.options
cvs2svn_lib/property_setters.py