[Updated] D10817: verify: use some intermediate variables instead of a multi-liner
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Tue Jun 1 19:38:51 UTC 2021
Closed by commit rHGf39df5545cf2: verify: use some intermediate variables instead of a multi-liner (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10817?vs=28342&id=28375
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10817/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10817
AFFECTED FILES
mercurial/verify.py
CHANGE DETAILS
diff --git a/mercurial/verify.py b/mercurial/verify.py
--- a/mercurial/verify.py
+++ b/mercurial/verify.py
@@ -494,9 +494,8 @@
storefiles.remove(ff)
except KeyError:
if self.warnorphanstorefiles:
- self._warn(
- _(b" warning: revlog '%s' not in fncache!") % ff
- )
+ msg = _(b" warning: revlog '%s' not in fncache!")
+ self._warn(msg % ff)
self.fncachewarned = True
if not len(fl) and (self.havecl or self.havemf):
To: marmoute, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210601/8f5ba7dc/attachment-0002.html>
More information about the Mercurial-patches
mailing list