[pypy-commit] buildbot default: don't use hg diff -b, it's bad for python

antocuni noreply at buildbot.pypy.org
Mon Jul 25 20:51:57 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r539:b5dc7285c406
Date: 2011-07-25 20:51 +0200
http://bitbucket.org/pypy/buildbot/changeset/b5dc7285c406/

Log:	don't use hg diff -b, it's bad for python

diff --git a/bbhook/scm.py b/bbhook/scm.py
--- a/bbhook/scm.py
+++ b/bbhook/scm.py
@@ -21,7 +21,7 @@
 
 
 def get_diff(local_repo, hgid):
-    out = hg('-R', local_repo, 'diff', '-b', '--git', '-c', hgid)
+    out = hg('-R', local_repo, 'diff', '--git', '-c', hgid)
     lines = out.splitlines(True)
     return filter_diff(lines)
 


More information about the pypy-commit mailing list