mercurial/cmdutil.py
changeset 22156 03a45eff9d2b
parent 22155 530390629842
child 22173 d3702a822241
--- a/mercurial/cmdutil.py	Tue Jun 24 15:47:12 2014 +0100
+++ b/mercurial/cmdutil.py	Thu Jul 31 16:03:26 2014 -0700
@@ -2466,7 +2466,11 @@
             for table, (action, backup) in disptable:
                 if abs not in table:
                     continue
-                if action is not None:
+                if action is None:
+                    if exact:
+                        ui.warn(_('no changes needed to %s\n') % rel)
+
+                else:
                     handle(action, backup)
                 break
             else: