mercurial/ui.py
changeset 20574 5614f8cf0861
parent 20265 e5803150ea1d
child 20580 b75a23eec9c9
--- a/mercurial/ui.py	Thu Feb 27 14:01:52 2014 -0600
+++ b/mercurial/ui.py	Thu Feb 27 14:46:29 2014 -0600
@@ -449,7 +449,9 @@
             except KeyError:
                 pass
         if not user:
-            raise util.Abort(_('no username supplied (see "hg help config")'))
+            raise util.Abort(_('no username supplied'),
+                             hint=_('use "hg config --edit" '
+                                    ' to set your username'))
         if "\n" in user:
             raise util.Abort(_("username %s contains a newline\n") % repr(user))
         return user