Skip to content
Snippets Groups Projects
  1. Nov 05, 2019
  2. Oct 17, 2019
    • Matt Harbison's avatar
      automation: avoid '~' in the temp directory on Windows · a77338d2
      Matt Harbison authored
      If a long-ish username is used, the environment variable ends up with a '~' to
      be 8.3 path compatible.  That in turn causes a handful of tests (mostly ssh
      related) to add quotes around $TESTMP.
      
      I have no AWS experience, so I have no idea if this is the proper way to do it.
      But I've hit this problem locally, and redirecting the directory is a
      workaround.  I don't recall if the directory is created on demand by the test
      harness, but presumably if this is configured before the machine boots, Windows
      will do it for us.
      
      Differential Revision: https://phab.mercurial-scm.org/D7130
      a77338d2
  3. Nov 05, 2019
  4. Nov 04, 2019
  5. Nov 01, 2019
  6. Nov 02, 2019
  7. Nov 04, 2019
  8. Nov 02, 2019
    • Gregory Szorc's avatar
      py3: define and use json.loads polyfill · 579672b3
      Gregory Szorc authored
      Python 3.5's json.loads() requires a str. Only Python 3.6+
      supports passing a bytes or bytearray.
      
      This commit implements a json.loads() polyfill on Python 3.5
      so that we can use bytes. The added function to detect encodings
      comes verbatim from Python 3.7.
      579672b3
    • Gregory Szorc's avatar
      contrib: require Python 3.6 for byteify-strings.py · bb509f39
      Gregory Szorc authored
      This script makes use of `token.COMMENT`, which apparently
      isn't present until Python 3.6. So make the script and its
      test conditional on Python 3.6.
      bb509f39
Loading