util: remove needbinary(), no longer used for external patching
authorPatrick Mezard <pmezard@gmail.com>
Sat, 09 Oct 2010 15:13:08 -0500
changeset 12672 9b324c5e6273
parent 12671 1b4e3152da13
child 12673 9ad16d1bce4b
util: remove needbinary(), no longer used for external patching
mercurial/util.py
--- a/mercurial/util.py	Sat Oct 09 15:13:08 2010 -0500
+++ b/mercurial/util.py	Sat Oct 09 15:13:08 2010 -0500
@@ -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)