Page MenuHomePhabricator

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.