discovery: make "note: unsynced remote changes!" less serious than a warning
This situation is not necessarily a problem and do not deserve a warning. It is
just some information that can guide the user in understanding what is going
on.
Making it 'debug' would usually not give the hint when it is relevant so we
make it a 'status' message.
--- a/mercurial/discovery.py Thu Feb 06 02:19:38 2014 +0100
+++ b/mercurial/discovery.py Fri Feb 07 17:24:12 2014 +0100
@@ -315,11 +315,11 @@
if unsynced:
heads = ' '.join(short(h) for h in unsynced)
if branch is None:
- repo.ui.warn(_("remote has heads that are "
- "not known locally: %s\n") % heads)
+ repo.ui.status(_("remote has heads that are "
+ "not known locally: %s\n") % heads)
else:
- repo.ui.warn(_("remote has heads on branch '%s' that are "
- "not known locally: %s\n") % (branch, heads))
+ repo.ui.status(_("remote has heads on branch '%s' that are "
+ "not known locally: %s\n") % (branch, heads))
if remoteheads is None:
if len(newhs) > 1:
dhs = list(newhs)