hg: make `clean` return consistent with the `update` function
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 10 Mar 2021 05:54:02 +0100
changeset 46761 af7535249ea9
parent 46760 bcb5bc2d21e0
child 46762 052ab8d0a538
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
mercurial/hg.py
--- 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()