##// END OF EJS Templates
push: sanitize handling of bookmark push return value...
Pierre-Yves David -
r22621:76a43e0d default
parent child Browse files
Show More
@@ -5076,8 +5076,8 b' def push(ui, repo, dest=None, **opts):'
5076 if opts.get('bookmark'):
5076 if opts.get('bookmark'):
5077 bresult = bookmarks.pushtoremote(ui, repo, other, opts['bookmark'])
5077 bresult = bookmarks.pushtoremote(ui, repo, other, opts['bookmark'])
5078 if bresult == 2:
5078 if bresult == 2:
5079 return 2
5079 result = 2
5080 if not result and bresult:
5080 elif not result and bresult:
5081 result = 2
5081 result = 2
5082
5082
5083 return result
5083 return result
General Comments 0
You need to be logged in to leave comments. Login now