changeset 3051 | 51b7f792e473 |
parent 3027 | 5a17423f88d7 |
child 3093 | f422c8265ae5 |
--- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -140,7 +140,9 @@ def patchbomb(ui, repo, *revs, **opts): if line.startswith('#'): if line.startswith('# Node ID'): node = line.split()[-1] continue - if line.startswith('diff -r'): break + if (line.startswith('diff -r') + or line.startswith('diff --git')): + break desc.append(line) if not node: raise ValueError