changeset 29965:b3100653bafd

push: update help hint to point to config.paths section
author timeless <timeless@mozdev.org>
date Tue, 20 Sep 2016 20:12:38 +0000
parents 40f845537dca
children 11604da46982
files mercurial/commands.py tests/test-default-push.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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))
--- 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 ..