mercurial/merge.py
changeset 29099 bdc86e178255
parent 28634 3ceac01bc29f
child 29148 899879becd65
--- a/mercurial/merge.py	Sun May 08 10:43:41 2016 +0200
+++ b/mercurial/merge.py	Sun May 08 10:43:41 2016 +0200
@@ -1442,9 +1442,7 @@
             pas = [repo[ancestor]]
 
         if node is None:
-            if (repo.ui.configbool('devel', 'all-warnings')
-                    or repo.ui.configbool('devel', 'oldapi')):
-                repo.ui.develwarn('update with no target')
+            repo.ui.develwarn('update with no target', 'oldapi')
             rev, _mark, _act = destutil.destupdate(repo)
             node = repo[rev].node()