equal
deleted
inserted
replaced
1736 if opts['no_merges'] and len(parents) == 2: |
1736 if opts['no_merges'] and len(parents) == 2: |
1737 continue |
1737 continue |
1738 displayer.show(changenode=n) |
1738 displayer.show(changenode=n) |
1739 if opts['patch']: |
1739 if opts['patch']: |
1740 prev = (parents and parents[0]) or nullid |
1740 prev = (parents and parents[0]) or nullid |
1741 patch.diff(repo, other, prev, n) |
1741 patch.diff(other, prev, n, fp=repo.ui) |
1742 ui.write("\n") |
1742 ui.write("\n") |
1743 finally: |
1743 finally: |
1744 if hasattr(other, 'close'): |
1744 if hasattr(other, 'close'): |
1745 other.close() |
1745 other.close() |
1746 if cleanup: |
1746 if cleanup: |