Mercurial > hg > pyhgsh
comparison contrib/patchbomb @ 1135:e455d91f6259
Variable 'body' was missing in patchbomb script.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 28 Aug 2005 18:52:55 +0200 |
parents | 63b5f68d8167 |
children | d451888505d7 |
comparison
equal
deleted
inserted
replaced
1134:2cd33ea2f66b | 1135:e455d91f6259 |
---|---|
105 return s | 105 return s |
106 | 106 |
107 def makepatch(patch, idx, total): | 107 def makepatch(patch, idx, total): |
108 desc = [] | 108 desc = [] |
109 node = None | 109 node = None |
110 body = '' | |
110 for line in patch: | 111 for line in patch: |
111 if line.startswith('#'): | 112 if line.startswith('#'): |
112 if line.startswith('# Node ID'): node = line.split()[-1] | 113 if line.startswith('# Node ID'): node = line.split()[-1] |
113 continue | 114 continue |
114 if line.startswith('diff -r'): break | 115 if line.startswith('diff -r'): break |