mercurial/commands.py
changeset 28029 72072cfc7e91
parent 28020 cffa46cbdb8f
child 28030 ca2a0a654f54
--- a/mercurial/commands.py	Wed Feb 03 04:37:04 2016 +0000
+++ b/mercurial/commands.py	Tue Feb 02 14:49:02 2016 +0000
@@ -6955,6 +6955,8 @@
     if rev is None or rev == '':
         rev = node
 
+    warndest = False
+
     with repo.wlock():
         cmdutil.clearunfinished(repo)
 
@@ -6976,6 +6978,7 @@
         if rev is None:
             updata = destutil.destupdate(repo, clean=clean, check=check)
             rev, movemarkfrom, brev = updata
+            warndest = True
 
         repo.ui.setconfig('ui', 'forcemerge', tool, 'update')
 
@@ -7002,7 +7005,8 @@
                 ui.status(_("(leaving bookmark %s)\n") %
                           repo._activebookmark)
             bookmarks.deactivate(repo)
-
+        if warndest:
+            destutil.statusotherdests(ui, repo)
     return ret
 
 @command('verify', [])