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:
parent
1106eb5166
commit
7ef8bee0b8
@ -3255,7 +3255,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
for pac in pacs:
|
for pac in pacs:
|
||||||
if not rev2:
|
if not rev2:
|
||||||
for i in pac.get_diff(rev1):
|
for i in pac.get_diff(rev1):
|
||||||
sys.stdout.write(''.join(i))
|
diff += ''.join(i)
|
||||||
else:
|
else:
|
||||||
diff += server_diff_noex(pac.apiurl, pac.prjname, pac.name, rev1,
|
diff += server_diff_noex(pac.apiurl, pac.prjname, pac.name, rev1,
|
||||||
pac.prjname, pac.name, rev2, not opts.plain, opts.missingok)
|
pac.prjname, pac.name, rev2, not opts.plain, opts.missingok)
|
||||||
|
Loading…
Reference in New Issue
Block a user