[PATCH 3 of 3] releasenotes: update debugging function
Rishabh Madan
rishabhmadan96 at gmail.com
Sun Jun 11 15:35:08 EDT 2017
# HG changeset patch
# User Rishabh Madan <rishabhmadan96 at gmail.com>
# Date 1497209608 -7200
# Sun Jun 11 21:33:28 2017 +0200
# Node ID 5a7fb92f1d5537a2e996edd49605b6cadb6a06b6
# Parent 190c01f93c7140932d20ecee6ff659181d197cfd
releasenotes: update debugging function
Some changes have been made to managing of parsed blocks from release notes. This
make changes to debugparsenotes to make it compatible with existing tests.
diff -r 190c01f93c71 -r 5a7fb92f1d55 hgext/releasenotes.py
--- a/hgext/releasenotes.py Sun Jun 11 21:20:59 2017 +0200
+++ b/hgext/releasenotes.py Sun Jun 11 21:33:28 2017 +0200
@@ -468,7 +468,8 @@
for para in paragraphs:
ui.write(' paragraph: %s\n' % ' '.join(para))
+ if len(notes.nontitledforsection(section)) > 0:
+ ui.write(' bullet point:\n')
for paragraphs in notes.nontitledforsection(section):
- ui.write(' bullet point:\n')
for para in paragraphs:
ui.write(' paragraph: %s\n' % ' '.join(para))
More information about the Mercurial-devel
mailing list