# HG changeset patch # User Manuel Jacob <m...@manueljacob.de> # Date 1590716588 -7200 # Fri May 29 03:43:08 2020 +0200 # Node ID 6c86927b3d35a364fdfba9a2e45bea64d1ba7cf6 # Parent 5d77f571a56371a8dd2ae309437985e8751d152b # EXP-Topic minimum-python-2.7.4-cleanup cleanup: remove compatibility code for Python < 2.7.1
The minimum supported Python version was recently raised to 2.7.4. diff --git a/mercurial/windows.py b/mercurial/windows.py --- a/mercurial/windows.py +++ b/mercurial/windows.py @@ -476,9 +476,6 @@ def shellsplit(s): def quotecommand(cmd): """Build a command string suitable for os.popen* calls.""" - if sys.version_info < (2, 7, 1): - # Python versions since 2.7.1 do this extra quoting themselves - return b'"' + cmd + b'"' return cmd _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel