Mercurial > public > mercurial-scm > hg-stable
diff hgext/fetch.py @ 24368:55fd99a23fdc
fetch: use an abort hint where appropriate
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 17 Mar 2015 20:36:33 +0900 |
parents | f1eaf03dd608 |
children | 80c5b2666a96 |
line wrap: on
line diff
--- a/hgext/fetch.py Tue Mar 17 20:41:52 2015 +0900 +++ b/hgext/fetch.py Tue Mar 17 20:36:33 2015 +0900 @@ -56,8 +56,8 @@ except error.RepoLookupError: branchnode = None if parent != branchnode: - raise util.Abort(_('working directory not at branch tip ' - '(use "hg update" to check out branch tip)')) + raise util.Abort(_('working directory not at branch tip'), + hint=_('use "hg update" to check out branch tip')) wlock = lock = None try: