comparison mercurial/commands.py @ 26810:382050000412

pull: all pass along extra opargs Wihtout this patch, commands.pull silently drops opargs defeating the whole purpose of the argument.
author Sean Farley <sean@farley.io>
date Mon, 19 Oct 2015 15:47:40 -0700
parents 6cd190147308
children c7d30fdb13b2
comparison
equal deleted inserted replaced
26809:6cd190147308 26810:382050000412
5310 except error.CapabilityError: 5310 except error.CapabilityError:
5311 err = _("other repository doesn't support revision lookup, " 5311 err = _("other repository doesn't support revision lookup, "
5312 "so a rev cannot be specified.") 5312 "so a rev cannot be specified.")
5313 raise error.Abort(err) 5313 raise error.Abort(err)
5314 5314
5315 pullopargs.update(opts.get('opargs', {}))
5315 modheads = exchange.pull(repo, other, heads=revs, 5316 modheads = exchange.pull(repo, other, heads=revs,
5316 force=opts.get('force'), 5317 force=opts.get('force'),
5317 bookmarks=opts.get('bookmark', ()), 5318 bookmarks=opts.get('bookmark', ()),
5318 opargs=pullopargs).cgresult 5319 opargs=pullopargs).cgresult
5319 if checkout: 5320 if checkout: