D6972: formatting: byteify all mercurial/ and hgext/ string literals

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Oct 5 10:34:07 EDT 2019


This revision now requires changes to proceed.
indygreg added a comment.
indygreg requested changes to this revision.


  Please add `# skip-blame` to the commit message.

INLINE COMMENTS

> __init__.py:1
>  # Copyright 2014-present Facebook, Inc.
>  # All rights reserved.

Files in this directory should not be modified.

> __init__.py:34
>              # Only handle Mercurial-related modules.
> -            if not fullname.startswith(("mercurial.", "hgext.")):
> +            if not fullname.startswith((b"mercurial.", b"hgext.")):
>                  return None

This file is already Python 3 clean and shouldn't be modified.

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list