changeset 45694:d1c10d33a85c

upgrade: improve documentation of matchrevlog() It was not clear what selected for cloning meant. I updated with an extra line of description.
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 08 Oct 2020 17:29:51 +0530
parents 64a9423450ef
children 760bb4d74aad
files mercurial/upgrade.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/upgrade.py	Fri Oct 09 09:46:03 2020 -0700
+++ b/mercurial/upgrade.py	Thu Oct 08 17:29:51 2020 +0530
@@ -743,7 +743,10 @@
 
 
 def matchrevlog(revlogfilter, entry):
-    """check is a revlog is selected for cloning
+    """check if a revlog is selected for cloning.
+
+    In other words, are there any updates which need to be done on revlog
+    or it can be blindly copied.
 
     The store entry is checked against the passed filter"""
     if entry.endswith(b'00changelog.i'):