Mercurial > hg
diff hgext/censor.py @ 51269:db121ddd171e
censor: be more verbose about the other steps too
If we informs the user about head checking, we should tell him when the other
operation happens too. Otherwise the user can imagine to still be in the head
checking part.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Dec 2023 22:46:46 +0100 |
parents | 622f00b350be |
children | ceeb8fa23cc8 |
line wrap: on
line diff
--- a/hgext/censor.py Fri Dec 01 22:44:33 2023 +0100 +++ b/hgext/censor.py Fri Dec 01 22:46:46 2023 +0100 @@ -129,6 +129,8 @@ hint=_(b'clean/delete and commit first'), ) + msg = b'checking for the censored content in the working directory\n' + ui.status(msg) wp = wctx.parents() if ctx.node() in [p.node() for p in wp]: raise error.Abort( @@ -136,5 +138,7 @@ hint=_(b'clean/delete/update first'), ) + msg = b'censoring 1 file revision\n' + ui.status(msg) with repo.transaction(b'censor') as tr: flog.censorrevision(tr, fnode, tombstone=tombstone)