Patchwork [05,of,18,"] verify: document the `exc` method

login
register
mail settings
Submitter Pierre-Yves David
Date March 6, 2019, 4:29 p.m.
Message ID <6c59b746e8b71df6d5f0.1551889761@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/39093/
State Accepted
Headers show

Comments

Pierre-Yves David - March 6, 2019, 4:29 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1551868270 -3600
#      Wed Mar 06 11:31:10 2019 +0100
# Node ID 6c59b746e8b71df6d5f0cc02a72fedac099a2a80
# Parent  d6124b30caf951800f61a53a72792c2e6a98e393
# EXP-Topic verify
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 6c59b746e8b7
verify: document the `exc` method

Simple method, get simple documentation.

Patch

diff --git a/mercurial/verify.py b/mercurial/verify.py
--- a/mercurial/verify.py
+++ b/mercurial/verify.py
@@ -70,6 +70,7 @@  class verifier(object):
         self.errors += 1
 
     def exc(self, linkrev, msg, inst, filename=None):
+        """record exception raised during the verify process"""
         fmsg = pycompat.bytestr(inst)
         if not fmsg:
             fmsg = pycompat.byterepr(inst)