D7210: fsmonitor: handle unicode keys in tuples

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Mon Nov 4 11:22:27 EST 2019


durin42 added inline comments.

INLINE COMMENTS

> bser.c:182
> +#else
> +      PyObject* utf = PyUnicode_AsEncodedString(sval, "utf-8", "ignore");
> +      if (utf == NULL) {

By reading this code, I believe `sval` should have been `key`, so I've fixed that in flight.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7210/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7210

To: indygreg, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list