Traceback (most recent call last):

 "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1348, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))

 "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 279, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=etree.TreeBuilder(element_factory=_element_factory)))

 "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 268, in _XML
parser.feed(text)

 "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)

 "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise errParseError: syntax error: line 1, column 0
Traceback (most recent call last):

 "/usr/local/bin/hg", line 27, in <module>
mercurial.dispatch.run()

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 34, in dispatch
return _runcatch(u, args)

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 54, in _runcatch
return _dispatch(ui, args)

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 483, in _dispatch
cmdpats, cmdoptions)

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 351, in runcommand
ret = _runcommand(ui, options, cmd, d)

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 534, in _runcommand
return checkargs()

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 488, in checkargs
return cmdfunc()

 "/usr/local/lib/python2.6/dist-packages/mercurial/dispatch.py", line 481, in <lambda>
d = lambda: util.checksignature(func)(ui, _args, *_cmdoptions)

 "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 420, in check
return func(_args, *_kwargs)

 "/usr/local/lib/python2.6/dist-packages/mercurial/extensions.py", line 116, in wrap
util.checksignature(origfn), _args, *_kwargs)

 "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 420, in check
return func(_args, *_kwargs)

 "/usr/local/lib/python2.6/dist-packages/hgext/bookmarks.py", line 429, in push
result = oldpush(ui, repo, dest, *_opts)

 "/usr/local/lib/python2.6/dist-packages/mercurial/util.py", line 420, in check
return func(_args, **kwargs)

 "/usr/local/lib/python2.6/dist-packages/mercurial/commands.py", line 2842, in push
newbranch=opts.get('new_branch'))TypeError: push() got an unexpected keyword argument 'newbranch'