This is an archive of the discontinued Mercurial Phabricator instance.

scmutil: avoid using basestring and add explicit handling of unicodes
ClosedPublic

Authored by durin42 on Mar 3 2018, 5:54 PM.

Details

Summary

This resolves some Python 3 defects, and I don't think it is a
meaningful behavior change in Python 2.

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.

Event Timeline

durin42 created this revision.Mar 3 2018, 5:54 PM
indygreg accepted this revision.Mar 3 2018, 5:57 PM
This revision is now accepted and ready to land.Mar 3 2018, 5:57 PM
This revision was automatically updated to reflect the committed changes.
yuja added a subscriber: yuja.Mar 4 2018, 8:04 AM
yuja added inline comments.
mercurial/scmutil.py
191

msg is unused