##// END OF EJS Templates
push: use `exchange.push` in `commands.push`...
Pierre-Yves David -
r22617:1625770c default
parent child Browse files
Show More
@@ -5068,10 +5068,10 b' def push(ui, repo, dest=None, **opts):'
5068 5068 return not result
5069 5069 finally:
5070 5070 del repo._subtoppath
5071 result = repo.push(other, opts.get('force'), revs=revs,
5072 newbranch=opts.get('new_branch'))
5073
5074 result = not result
5071 pushop = exchange.push(repo, other, opts.get('force'), revs=revs,
5072 newbranch=opts.get('new_branch'))
5073
5074 result = not pushop.cgresult
5075 5075
5076 5076 if opts.get('bookmark'):
5077 5077 bresult = bookmarks.pushtoremote(ui, repo, other, opts['bookmark'])
General Comments 0
You need to be logged in to leave comments. Login now