D6070: py3: use bytes instead of str in isinstance()
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Mon Mar 4 18:12:04 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb1d07f4614a6: py3: use bytes instead of str in isinstance() (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6070?vs=14349&id=14354
REVISION DETAIL
https://phab.mercurial-scm.org/D6070
AFFECTED FILES
mercurial/tags.py
CHANGE DETAILS
diff --git a/mercurial/tags.py b/mercurial/tags.py
--- a/mercurial/tags.py
+++ b/mercurial/tags.py
@@ -548,7 +548,7 @@
def _tag(repo, names, node, message, local, user, date, extra=None,
editor=False):
- if isinstance(names, str):
+ if isinstance(names, bytes):
names = (names,)
branches = repo.branchmap()
To: pulkit, #hg-reviewers
Cc: Kwan, mercurial-devel
More information about the Mercurial-devel
mailing list