[pypy-commit] buildbot default: ignore whitespace when doing the diff

antocuni noreply at buildbot.pypy.org
Tue Jul 19 12:24:20 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r534:c620633ed570
Date: 2011-07-19 12:24 +0200
http://bitbucket.org/pypy/buildbot/changeset/c620633ed570/

Log:	ignore whitespace when doing the diff

diff --git a/bbhook/scm.py b/bbhook/scm.py
--- a/bbhook/scm.py
+++ b/bbhook/scm.py
@@ -20,7 +20,7 @@
 
 
 def get_diff(local_repo, hgid):
-    out = hg('-R', local_repo, 'diff', '--git', '-c', hgid)
+    out = hg('-R', local_repo, 'diff', '-b', '--git', '-c', hgid)
     out = out.splitlines(True)
     out_iter = iter(out)
     lines = []


More information about the pypy-commit mailing list