D7290: branchmap: pytype is confused about bytestr
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Nov 8 11:48:29 EST 2019
Closed by commit rHG1a47fe4bc154: branchmap: pytype is confused about bytestr (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7290?vs=17660&id=17789
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7290/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7290
AFFECTED FILES
mercurial/branchmap.py
CHANGE DETAILS
diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py
--- a/mercurial/branchmap.py
+++ b/mercurial/branchmap.py
@@ -269,7 +269,13 @@
if repo.ui.debugflag:
msg = b'invalid %s: %s\n'
repo.ui.debug(
- msg % (_branchcachedesc(repo), pycompat.bytestr(inst))
+ msg
+ % (
+ _branchcachedesc(repo),
+ pycompat.bytestr(
+ inst # pytype: disable=wrong-arg-types
+ ),
+ )
)
bcache = None
To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list