Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 26809:6cd190147308
push: all pass along opargs
Wihtout this patch, commands.push silently drops opargs defeating the whole
purpose of the argument.
author | Sean Farley <sean@farley.io> |
---|---|
date | Mon, 19 Oct 2015 15:43:35 -0700 |
parents | 1760ca4ee919 |
children | 382050000412 |
comparison
equal
deleted
inserted
replaced
26808:b81b8dbecc26 | 26809:6cd190147308 |
---|---|
5414 return not result | 5414 return not result |
5415 finally: | 5415 finally: |
5416 del repo._subtoppath | 5416 del repo._subtoppath |
5417 pushop = exchange.push(repo, other, opts.get('force'), revs=revs, | 5417 pushop = exchange.push(repo, other, opts.get('force'), revs=revs, |
5418 newbranch=opts.get('new_branch'), | 5418 newbranch=opts.get('new_branch'), |
5419 bookmarks=opts.get('bookmark', ())) | 5419 bookmarks=opts.get('bookmark', ()), |
5420 opargs=opts.get('opargs')) | |
5420 | 5421 |
5421 result = not pushop.cgresult | 5422 result = not pushop.cgresult |
5422 | 5423 |
5423 if pushop.bkresult is not None: | 5424 if pushop.bkresult is not None: |
5424 if pushop.bkresult == 2: | 5425 if pushop.bkresult == 2: |