changeset 46774:af7535249ea9

hg: make `clean` return consistent with the `update` function The function return a boolean and is used as such. Lets be explicit about it. Differential Revision: https://phab.mercurial-scm.org/D10156
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 10 Mar 2021 05:54:02 +0100
parents bcb5bc2d21e0
children 052ab8d0a538
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Wed Mar 10 16:28:46 2021 +0100
+++ b/mercurial/hg.py	Wed Mar 10 05:54:02 2021 +0100
@@ -1121,6 +1121,7 @@
     assert stats.unresolvedcount == 0
     if show_stats:
         _showstats(repo, stats, quietempty)
+    return False
 
 
 # naming conflict in updatetotally()