Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 30417:e1677cc29da6
patch: remove unused git parameter from patch.diffstat()
Since 628a4a9e411d the parameter is not used anymore.
author | Henning Schild <henning@hennsch.de> |
---|---|
date | Sat, 12 Nov 2016 13:36:17 +0100 |
parents | 11b8b740d54a |
children | 39d13b8c101d |
comparison
equal
deleted
inserted
replaced
30416:cff0f5926797 | 30417:e1677cc29da6 |
---|---|
1200 if not ui.plain(): | 1200 if not ui.plain(): |
1201 width = ui.termwidth() | 1201 width = ui.termwidth() |
1202 chunks = patch.diff(repo, node1, node2, match, changes, diffopts, | 1202 chunks = patch.diff(repo, node1, node2, match, changes, diffopts, |
1203 prefix=prefix, relroot=relroot) | 1203 prefix=prefix, relroot=relroot) |
1204 for chunk, label in patch.diffstatui(util.iterlines(chunks), | 1204 for chunk, label in patch.diffstatui(util.iterlines(chunks), |
1205 width=width, | 1205 width=width): |
1206 git=diffopts.git): | |
1207 write(chunk, label=label) | 1206 write(chunk, label=label) |
1208 else: | 1207 else: |
1209 for chunk, label in patch.diffui(repo, node1, node2, match, | 1208 for chunk, label in patch.diffui(repo, node1, node2, match, |
1210 changes, diffopts, prefix=prefix, | 1209 changes, diffopts, prefix=prefix, |
1211 relroot=relroot): | 1210 relroot=relroot): |