This revision was automatically updated to reflect the committed changes.
Closed by commit rHG159a6f7e09a9: releasenotes: display release notes when no
filename is specified (authored by rishabhmadan96, committed by ).
CHANGED PRIOR TO COMMIT
pulkit accepted this revision.
pulkit added a comment.
Can you also update the doc as a follow-up as it says `parse release notes
from commit messages into an output file` which is not always the case now.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D877
To:
rishabhmadan96 updated this revision to Diff 2263.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D877?vs=2261=2263
REVISION DETAIL
https://phab.mercurial-scm.org/D877
AFFECTED FILES
hgext/releasenotes.py
tests/test-releasenotes-formatting.t
CHANGE
pulkit added a comment.
Apart from the nit, the patch looks good to me.
INLINE COMMENTS
> releasenotes.py:579
>
> +if file_==None:
> +return ui.write(serializenotes(sections, incoming))
nit: `if file is None`
REPOSITORY
rHG Mercurial
REVISION DETAIL
rishabhmadan96 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
If the filename is not specified while using --rev, the notes for the
specified
revs will just be displayed on screen.
REPOSITORY
rHG Mercurial