This is an archive of the discontinued Mercurial Phabricator instance.

fix: use sysstrs for command template formatting
AbandonedPublic

Authored by durin42 on Apr 12 2018, 5:16 PM.

Details

Reviewers
yuja
Group Reviewers
hg-reviewers
Summary

This lets us keep using the .format() interface, which I think on the
whole I'd like to keep because it makes the configuration a little
nicer.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Apr 12 2018, 5:16 PM
yuja requested changes to this revision.Apr 13 2018, 8:51 AM
yuja added a subscriber: yuja.

sysstr -> sysbytes can't round trip, and unicode.format(...=bytes) wouldn't
work as expected.

Let me check if we can use templater here.

This revision now requires changes to proceed.Apr 13 2018, 8:51 AM
durin42 abandoned this revision.Apr 18 2018, 1:56 PM