# HG changeset patch # User Thomas Arendsen Hein # Date 1151946869 -7200 # Node ID 0229ff95faec752bd19e2dbcc5ca4373ecf0458d # Parent d75c68b55af80ca76a0c898f93c9710f11a38e7b Clarified message when nothing to merge is seen. Sometimes there's a non-tip head waiting to be merged, especially after pulling in remote changes while there were local modifications in the working directory which had to be committed before 'hg merge' can work. diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1643,8 +1643,8 @@ class localrepository(object): linear_path = (pa == p1 or pa == p2) if allow and linear_path: - raise util.Abort(_("there is nothing to merge, " - "just use 'hg update'")) + raise util.Abort(_("there is nothing to merge, just use " + "'hg update' or look at 'hg heads'")) if allow and not forcemerge: if modified or added or removed: raise util.Abort(_("outstanding uncommitted changes"))