Show More
@@ -311,8 +311,8 b' def parsenotesfromrevisions(repo, direct' | |||
|
311 | 311 | title = block['lines'][0].strip() if block['lines'] else None |
|
312 | 312 | |
|
313 | 313 | if i + 1 == len(blocks): |
|
314 |
raise error.Abort(_(' |
|
|
315 |
|
|
|
314 | raise error.Abort(_('changeset %s: release notes directive %s ' | |
|
315 | 'lacks content') % (ctx, directive)) | |
|
316 | 316 | |
|
317 | 317 | # Now search ahead and find all paragraphs attached to this |
|
318 | 318 | # admonition. |
@@ -325,8 +325,8 b' def parsenotesfromrevisions(repo, direct' | |||
|
325 | 325 | continue |
|
326 | 326 | |
|
327 | 327 | if pblock['type'] != 'paragraph': |
|
328 |
repo.ui.warn(_('unexpected block in release |
|
|
329 |
|
|
|
328 | repo.ui.warn(_('changeset %s: unexpected block in release ' | |
|
329 | 'notes directive %s\n') % (ctx, directive)) | |
|
330 | 330 | |
|
331 | 331 | if pblock['indent'] > 0: |
|
332 | 332 | paragraphs.append(pblock['lines']) |
General Comments 0
You need to be logged in to leave comments.
Login now