Show More
@@ -1360,10 +1360,10 b' def outgoing(ui, repo, dest, opts):' | |||
|
1360 | 1360 | |
|
1361 | 1361 | limit = logcmdutil.getlimit(opts) |
|
1362 | 1362 | o, other = _outgoing(ui, repo, dest, opts) |
|
1363 | ret = 1 | |
|
1363 | 1364 | try: |
|
1364 |
if |
|
|
1365 | cmdutil.outgoinghooks(ui, repo, other, opts, o) | |
|
1366 | return recurse() | |
|
1365 | if o: | |
|
1366 | ret = 0 | |
|
1367 | 1367 | |
|
1368 | 1368 | if opts.get(b'newest_first'): |
|
1369 | 1369 | o.reverse() |
@@ -1380,8 +1380,8 b' def outgoing(ui, repo, dest, opts):' | |||
|
1380 | 1380 | displayer.show(repo[n]) |
|
1381 | 1381 | displayer.close() |
|
1382 | 1382 | cmdutil.outgoinghooks(ui, repo, other, opts, o) |
|
1383 | recurse() | |
|
1384 |
return |
|
|
1383 | ret = min(ret, recurse()) | |
|
1384 | return ret # exit code is zero since we found outgoing changes | |
|
1385 | 1385 | finally: |
|
1386 | 1386 | other.close() |
|
1387 | 1387 |
General Comments 0
You need to be logged in to leave comments.
Login now