upgrade: improve documentation of matchrevlog()
authorPulkit Goyal <7895pulkit@gmail.com>
Thu, 08 Oct 2020 17:29:51 +0530
changeset 45694 d1c10d33a85c
parent 45693 64a9423450ef
child 45695 760bb4d74aad
upgrade: improve documentation of matchrevlog() It was not clear what selected for cloning meant. I updated with an extra line of description.
mercurial/upgrade.py
--- 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'):