# HG changeset patch # User Jun Wu # Date 2017-07-12 22:24:47 # Node ID d78b7d734b63bd5490b4aa80169270e0a3a043ca # Parent 30f2715be1233f1345ae643a74a23b109dd6f13e patch: use devel.all-warnings to replace devel.all It appears to be a misspell in patch.py. diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -2567,7 +2567,7 @@ def trydiff(repo, revs, ctx1, ctx2, modi gitmode = {'l': '120000', 'x': '100755', '': '100644'} - if relroot != '' and (repo.ui.configbool('devel', 'all') + if relroot != '' and (repo.ui.configbool('devel', 'all-warnings') or repo.ui.configbool('devel', 'check-relroot')): for f in modified + added + removed + copy.keys() + copy.values(): if f is not None and not f.startswith(relroot):