Show More
@@ -2,8 +2,12 b' Test hg log changeset printer external h' | |||||
2 | ------------------------------------------- |
|
2 | ------------------------------------------- | |
3 |
|
3 | |||
4 | $ cat > $TESTTMP/logexthook.py <<EOF |
|
4 | $ cat > $TESTTMP/logexthook.py <<EOF | |
5 | > from mercurial import repair, commands |
|
5 | > from __future__ import absolute_import | |
6 |
> from mercurial import |
|
6 | > from mercurial import ( | |
|
7 | > cmdutil, | |||
|
8 | > commands, | |||
|
9 | > repair, | |||
|
10 | > ) | |||
7 | > def rot13description(self, ctx): |
|
11 | > def rot13description(self, ctx): | |
8 | > summary = "summary".encode('rot13') |
|
12 | > summary = "summary".encode('rot13') | |
9 | > description = ctx.description().strip().splitlines()[0].encode('rot13') |
|
13 | > description = ctx.description().strip().splitlines()[0].encode('rot13') |
General Comments 0
You need to be logged in to leave comments.
Login now