diff mercurial/debugcommands.py @ 41943:1e75311d78f7

manifestcache: do not display data when using --add If the command invocation is about adding a new entry, we should remain terse (the same as we do for many commands).
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 14 Mar 2019 09:11:41 +0000
parents fbee66c90cef
children b74ef67573e5
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Thu Mar 14 10:43:01 2019 +0000
+++ b/mercurial/debugcommands.py	Thu Mar 14 09:11:41 2019 +0000
@@ -1488,6 +1488,7 @@
             except error.LookupError as e:
                 raise error.Abort(e, hint="Check your manifest node id")
             manifest.read()  # stores revisision in cache too
+            return
 
     cache = getcache()
     if not len(cache):