( )⚙ D10177 merge: force an exception message to bytes before printing as a warning

This is an archive of the discontinued Mercurial Phabricator instance.

merge: force an exception message to bytes before printing as a warning
ClosedPublic

Authored by mharbison72 on Mar 12 2021, 1:09 PM.

Details

Summary

Caught by pytype:

File "/mnt/c/Users/Matt/hg/mercurial/merge.py", line 1346, in batchremove: Function _bytestr.__init__ was called with the wrong arguments [wrong-arg-types]
         Expected: (self, ints: Iterable[int])
  Actually passed: (self, ints: str)

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage