tests/test-log-exthook.t
changeset 35888 c8e2d6ed1f9e
parent 33964 bfafd189edd9
child 39657 2b9f315a4217
--- 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