##// END OF EJS Templates
commands: replace 'x = f(); return x' with 'return f()'
Martin Geisler -
r14362:8c740a85 default
parent child Browse files
Show More
@@ -3204,8 +3204,7 b' def incoming(ui, repo, source="default",'
3204
3204
3205 repo._subtoppath = ui.expandpath(source)
3205 repo._subtoppath = ui.expandpath(source)
3206 try:
3206 try:
3207 ret = hg.incoming(ui, repo, source, opts)
3207 return hg.incoming(ui, repo, source, opts)
3208 return ret
3209 finally:
3208 finally:
3210 del repo._subtoppath
3209 del repo._subtoppath
3211
3210
@@ -3544,8 +3543,7 b' def outgoing(ui, repo, dest=None, **opts'
3544
3543
3545 repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default')
3544 repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default')
3546 try:
3545 try:
3547 ret = hg.outgoing(ui, repo, dest, opts)
3546 return hg.outgoing(ui, repo, dest, opts)
3548 return ret
3549 finally:
3547 finally:
3550 del repo._subtoppath
3548 del repo._subtoppath
3551
3549
General Comments 0
You need to be logged in to leave comments. Login now