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