[PATCH] patchbomb: pass --git argument to diffstat
Idan Kamara
idankk86 at gmail.com
Fri May 20 13:14:07 CDT 2011
# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1305914685 -10800
# Node ID 03a071603945fc69ca78cf0c1cebafefdea5ffe2
# Parent a75e0f4ba0ab91277b654416d93abd12aa50b940
patchbomb: pass --git argument to diffstat
diff -r a75e0f4ba0ab -r 03a071603945 hgext/patchbomb.py
--- a/hgext/patchbomb.py Tue May 17 10:28:03 2011 -0500
+++ b/hgext/patchbomb.py Fri May 20 21:04:45 2011 +0300
@@ -106,7 +106,7 @@
while patchlines and not patchlines[0].strip():
patchlines.pop(0)
- ds = patch.diffstat(patchlines)
+ ds = patch.diffstat(patchlines, git=opts.get('git'))
if opts.get('diffstat'):
body += ds + '\n\n'
More information about the Mercurial-devel
mailing list