changeset 51264 | 195ab99cf791 |
parent 51263 | 51056bedbe0d |
child 51265 | 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)