equal
deleted
inserted
replaced
5 # Copyright 2010 Matt Mackall <mpm@selenic.com> |
5 # Copyright 2010 Matt Mackall <mpm@selenic.com> |
6 # |
6 # |
7 # This software may be used and distributed according to the terms of the |
7 # This software may be used and distributed according to the terms of the |
8 # GNU General Public License version 2 or any later version. |
8 # GNU General Public License version 2 or any later version. |
9 |
9 |
10 import sys, re, glob |
10 import re, glob |
11 import optparse |
11 import optparse |
12 |
12 |
13 def repquote(m): |
13 def repquote(m): |
14 t = re.sub(r"\w", "x", m.group('text')) |
14 t = re.sub(r"\w", "x", m.group('text')) |
15 t = re.sub(r"[^\sx]", "o", t) |
15 t = re.sub(r"[^\sx]", "o", t) |