hggit recognizing non-git repo as git?
*Created originally on Bitbucket by [vinc3m1 (Vince Mi)](https://bitbucket.org/%7Bbf5f025c-6ea4-4590-81a1-6449b79edf25%7D/)*
Here is the stacktrace, as you can see in the first line I'm just pushing to a bitbucket account via ssh. I've blanked out the full repo url since it's private.
{{{
$ hg push
pushing to ssh://hg@bitbucket.org/*************
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 1.4.3)
** Extensions loaded: fetch, mq, hggit
Traceback (most recent call last):
File "/usr/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 30, in dispatch
return _runcatch(u, args)
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 46, in _runcatch
return _dispatch(ui, args)
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 454, in _dispatch
return runcommand(lui, repo, cmd, fullargs, ui, options, d)
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 324, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 505, in _runcommand
return checkargs()
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 459, in checkargs
return cmdfunc()
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 453, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 386, in check
return func(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 2356, in push
r = repo.push(other, opts.get('force'), revs=revs)
File "/usr/local/lib/python2.6/dist-packages/hg_git-0.2.3-py2.6.egg/hggit/hgrepo.py", line 23, in push
newbranch=newbranch)
TypeError: push() got an unexpected keyword argument 'newbranch'
}}}
Afterwards, I removed hggit from under [extensions] in my ~/.hgrc and then the push completed fine.
I had just installed hggit tonight via the easy-install method, I thought it would be a good thing to have on hand, but hadn't done any pull/clone/push commands with it at all before this occurred.
issue