equal
deleted
inserted
replaced
575 return checkadmonitions(ui, repo, sections.names(), revs) |
575 return checkadmonitions(ui, repo, sections.names(), revs) |
576 |
576 |
577 incoming = parsenotesfromrevisions(repo, sections.names(), revs) |
577 incoming = parsenotesfromrevisions(repo, sections.names(), revs) |
578 |
578 |
579 if file_ is None: |
579 if file_ is None: |
|
580 ui.pager('releasenotes') |
580 return ui.write(serializenotes(sections, incoming)) |
581 return ui.write(serializenotes(sections, incoming)) |
581 |
582 |
582 try: |
583 try: |
583 with open(file_, 'rb') as fh: |
584 with open(file_, 'rb') as fh: |
584 notes = parsereleasenotesfile(sections, fh.read()) |
585 notes = parsereleasenotesfile(sections, fh.read()) |