# HG changeset patch # User timeless # Date 1474402358 0 # Node ID b3100653bafdbba8d4a0b0f56983ccb9f55cb5ce # Parent 40f845537dca901a49979aa2ad01256554b57773 push: update help hint to point to config.paths section diff -r 40f845537dca -r b3100653bafd mercurial/commands.py --- a/mercurial/commands.py Fri Sep 02 21:49:33 2016 +0000 +++ b/mercurial/commands.py Tue Sep 20 20:12:38 2016 +0000 @@ -6028,7 +6028,7 @@ path = ui.paths.getpath(dest, default=('default-push', 'default')) if not path: raise error.Abort(_('default repository not configured!'), - hint=_('see the "path" section in "hg help config"')) + hint=_("see 'hg help config.paths'")) dest = path.pushloc or path.loc branches = (path.branch, opts.get('branch') or []) ui.status(_('pushing to %s\n') % util.hidepassword(dest)) diff -r 40f845537dca -r b3100653bafd tests/test-default-push.t --- a/tests/test-default-push.t Fri Sep 02 21:49:33 2016 +0000 +++ b/tests/test-default-push.t Tue Sep 20 20:12:38 2016 +0000 @@ -19,7 +19,7 @@ $ cd c $ hg push --config paths.default= abort: default repository not configured! - (see the "path" section in "hg help config") + (see 'hg help config.paths') [255] $ cd ..