hgext/censor.py
changeset 51267 195ab99cf791
parent 51266 51056bedbe0d
child 51268 622f00b350be
--- a/hgext/censor.py	Fri Dec 01 22:25:52 2023 +0100
+++ b/hgext/censor.py	Fri Dec 01 22:33:35 2023 +0100
@@ -99,7 +99,10 @@
 
     fnode = fctx.filenode()
     heads = []
-    for headnode in repo.heads():
+    repo_heads = repo.heads()
+    msg = b'checking for the censored content in %d heads\n' % len(repo_heads)
+    ui.status(msg)
+    for headnode in repo_heads:
         hc = repo[headnode]
         if path in hc and hc.filenode(path) == fnode:
             heads.append(hc)