changeset 48118 | 5105a9975407 |
parent 43434 | bec734015b70 |
child 48875 | 6000f5b25c9b |
--- a/hgext/censor.py Tue Sep 28 13:59:01 2021 -0700 +++ b/hgext/censor.py Tue Sep 28 15:11:22 2021 -0700 @@ -35,6 +35,7 @@ from mercurial import ( error, + logcmdutil, registrar, scmutil, ) @@ -84,7 +85,7 @@ if not len(flog): raise error.Abort(_(b'cannot censor file with no history')) - rev = scmutil.revsingle(repo, rev, rev).rev() + rev = logcmdutil.revsingle(repo, rev, rev).rev() try: ctx = repo[rev] except KeyError: