Submitter | Pierre-Yves David |
---|---|
Date | March 6, 2019, 4:29 p.m. |
Message ID | <33e3e6c86203f9ddecff.1551889764@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/39102/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -134,7 +134,7 @@ class verifier(object): This method run all verifications, displaying issues as they are found. - return 1 if any error have been encountered""" + return 1 if any error have been encountered, 0 otherwise.""" repo = self.repo ui = repo.ui @@ -171,6 +171,7 @@ class verifier(object): ui.warn(_("(first damaged changeset appears to be %d)\n") % min(self.badrevs)) return 1 + return 0 def _verifychangelog(self): ui = self.ui