This is an archive of the discontinued Mercurial Phabricator instance.

releasenotes: display release notes when no filename is specified
ClosedPublic

Authored by rishabhmadan96 on Oct 1 2017, 8:00 AM.

Details

Summary

If the filename is not specified while using --rev, the notes for the specified
revs will just be displayed on screen.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rishabhmadan96 created this revision.Oct 1 2017, 8:00 AM
pulkit added a subscriber: pulkit.Oct 1 2017, 8:37 AM

Apart from the nit, the patch looks good to me.

hgext/releasenotes.py
579

nit: if file is None

pulkit accepted this revision.Oct 1 2017, 9:07 AM

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.

This revision is now accepted and ready to land.Oct 1 2017, 9:39 AM
This revision was automatically updated to reflect the committed changes.