# HG changeset patch # User Anton Shestakov # Date 1594950757 -28800 # Node ID 39cd95b6f56636295471edb4b3a5568c48152a61 # Parent f287f6b082f828961fdfb3ad7560ede92ea836ed readme: shorter path to byteify-strings.py and not editing per-user config Long path inside indented block usually means horizontal scrollbar. diff -r f287f6b082f8 -r 39cd95b6f566 README.rst --- a/README.rst Fri Jul 17 09:50:27 2020 +0800 +++ b/README.rst Fri Jul 17 09:52:37 2020 +0800 @@ -185,14 +185,14 @@ .. _`format-source`: https://foss.heptapod.net/mercurial/format-source -Then update both your global and repo config files:: +Then update your per-repo config file:: $ hg config --local --edit # add these lines: [extensions] formatsource = [format-source] - byteify-strings = python3 ~/workspace/octobus/mercurial-devel/contrib/byteify-strings.py --dictiter --treat-as-kwargs kwargs opts commitopts TROUBLES --allow-attr-methods + byteify-strings = python3 ~/hg/contrib/byteify-strings.py --dictiter --treat-as-kwargs kwargs opts commitopts TROUBLES --allow-attr-methods byteify-strings:mode.input = file byteify-strings:mode.output = pipe