diff mercurial/sslutil.py @ 25161:4d30467d944e

run-tests: move unicode-to-bytes operations on paths to a helper (issue4667) This doesn't fix the probably-wrong utf-8 encoding choice, it just starts the process of encapsulating all the path handling in run-tests in a single place. One known-path use of .encode() remains: it's related to use of mkdtemp, and it will be fixed in a followup patch once we have a companion _strpath() helper function to go from bytes to a str, as we need to file a bug about mkdtemp upstream.
author Augie Fackler <augie@google.com>
date Sun, 17 May 2015 21:40:12 -0400
parents 241d98d84aed
children 21b536f01eda
line wrap: on
line diff