diff -r 51056bedbe0d -r 195ab99cf791 hgext/censor.py --- 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)