# HG changeset patch # User Patrick Mezard # Date 2010-10-09 20:13:08 # Node ID 9b324c5e62733691e9099bb0eb25995f81b65f17 # Parent 1b4e3152da13f46d56d5a7842e275a81e5088ed8 util: remove needbinary(), no longer used for external patching diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -716,10 +716,6 @@ def checklink(path): 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)