diff mercurial/debugcommands.py @ 42893:34a46d48d24e

debugobsolete: also issue the "new obsmarkers" messsage We are going to improve the way this message is issued in the core codebase. This will make it appears for `hg debugobsolete` too. Since this seems like a good idea, we make the output change in a previous changesets to clarify the next changeset.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 14 Oct 2018 13:19:24 +0200
parents 908ff446590e
children 38392d5bde8e
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Fri Sep 06 08:32:48 2019 +0900
+++ b/mercurial/debugcommands.py	Sun Oct 14 13:19:24 2018 +0200
@@ -1766,6 +1766,7 @@
                 repo.obsstore.create(tr, prec, succs, opts['flags'],
                                      parents=parents, date=date,
                                      metadata=metadata, ui=ui)
+                repo.ui.status(('1 new obsolescence markers\n'))
                 tr.close()
             except ValueError as exc:
                 raise error.Abort(_('bad obsmarker input: %s') %