Page MenuHomePhabricator

scmutil: clean up bytes/string cache decorator mess on Python 3 again
ClosedPublic

Authored by durin42 on May 8 2018, 12:26 AM.

Details

Summary

The previous fix to this area worked, but was dropping bytes in
dict on Python 3. This was causing subtle breakage in
test-check-interfaces.py, and probably other things too.

Fixed now.

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.May 8 2018, 12:26 AM
This revision was automatically updated to reflect the committed changes.
yuja added a subscriber: yuja.May 8 2018, 9:35 AM

Fixed the last AttributeError to raise the "s" name.