Mercurial > hg
changeset 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 |
parents | 1b4e3152da13 |
children | 9ad16d1bce4b |
files | mercurial/util.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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)