[Pkg-bazaar-commits] ./bzr/unstable r225: debug output
mbp at sourcefrog.net
mbp at sourcefrog.net
Fri Apr 10 07:43:59 UTC 2009
------------------------------------------------------------
revno: 225
committer: mbp at sourcefrog.net
timestamp: Sat 2005-04-09 16:21:44 +1000
message:
debug output
modified:
bzrlib/mdiff.py
-------------- next part --------------
=== modified file 'bzrlib/mdiff.py'
--- a/bzrlib/mdiff.py 2005-04-09 04:38:18 +0000
+++ b/bzrlib/mdiff.py 2005-04-09 06:21:44 +0000
@@ -31,6 +31,9 @@
def diff(a, b):
d = difflib.SequenceMatcher(None, a, b)
+
+ ## sys.stderr.write(' ~ real_quick_ratio: %.4f\n' % d.real_quick_ratio())
+
for o, m, n, s, t in d.get_opcodes():
if o == 'equal': continue
# a[m:n] should be replaced by b[s:t]
More information about the Pkg-bazaar-commits
mailing list