1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00

osc diff: use pager also for local diff

This commit is contained in:
Andreas Schwab 2011-08-05 18:51:02 +02:00 committed by Adrian Schröter
parent 1106eb5166
commit 7ef8bee0b8

View File

@ -3255,7 +3255,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
for pac in pacs:
if not rev2:
for i in pac.get_diff(rev1):
sys.stdout.write(''.join(i))
diff += ''.join(i)
else:
diff += server_diff_noex(pac.apiurl, pac.prjname, pac.name, rev1,
pac.prjname, pac.name, rev2, not opts.plain, opts.missingok)