--- a/tests/test-log-exthook.t Sun Jan 21 12:48:39 2018 +0900
+++ b/tests/test-log-exthook.t Sun Jan 21 13:03:03 2018 +0900
@@ -4,8 +4,8 @@
$ cat > $TESTTMP/logexthook.py <<EOF
> from __future__ import absolute_import
> from mercurial import (
- > cmdutil,
> commands,
+ > logcmdutil,
> repair,
> )
> def rot13description(self, ctx):
@@ -13,7 +13,7 @@
> description = ctx.description().strip().splitlines()[0].encode('rot13')
> self.ui.write("%s: %s\n" % (summary, description))
> def reposetup(ui, repo):
- > cmdutil.changeset_printer._exthook = rot13description
+ > logcmdutil.changesetprinter._exthook = rot13description
> EOF
Prepare the repository