diff mercurial/util.py @ 12672:9b324c5e6273

util: remove needbinary(), no longer used for external patching
author Patrick Mezard <pmezard@gmail.com>
date Sat, 09 Oct 2010 15:13:08 -0500 (2010-10-09)
parents 4cdaf1adafc8
children c52c629ce19e
line wrap: on
line diff
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -716,10 +716,6 @@
     except (OSError, AttributeError):
         return False
 
-def needbinarypatch():
-    """return True if patches should be applied in binary mode by default."""
-    return os.name == 'nt'
-
 def endswithsep(path):
     '''Check path ends with os.sep or os.altsep.'''
     return path.endswith(os.sep) or os.altsep and path.endswith(os.altsep)