push to google code fails

Create issue
Issue #341 invalid
Andrey Loskutov created an issue

Trying to push with hg ro svn repository, always get an error below. (tried on Ubuntu 11.10 64 bit, all hg versions between 1.8 - 2.1, all recent hgsubversion versions build from here)

{{{ andrei@pinguin ~/workspace/findbugs-bundle $ hg push https://iloveeclipse:***@findbugs.googlecode.com/svn pushing to https://iloveeclipse:@findbugs.googlecode.com/svn real URL is http://findbugs.googlecode.com/svn/ searching for changes unknown exception encountered, please report by visiting http://mercurial.selenic.com/wiki/BugTracker Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] Mercurial Distributed SCM (version 2.1) Extensions loaded: rebase, transplant, mq, hgsubversion Traceback (most recent call last): File "/usr/bin/hg", line 38, in <module> mercurial.dispatch.run() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 27, in run sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 64, in dispatch return _runcatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 87, in _runcatch return _dispatch(req) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 683, in _dispatch cmdpats, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 465, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 737, in _runcommand return checkargs() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 691, in checkargs return cmdfunc() File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 680, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 456, in check return func(args, kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 139, in wrap util.checksignature(origfn), *args, kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 456, in check return func(args, kwargs) File "/home/andrei/workspace/hgsubversion/hgsubversion/wrappers.py", line 538, in generic return orig(ui, repo, *args, opts) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 456, in check return func(args, kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 139, in wrap util.checksignature(origfn), *args, kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 456, in check return func(args, kwargs) File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3325, in mqcommand return orig(ui, repo, *args, kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 456, in check return func(args, kwargs) File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 4431, in push newbranch=opts.get('new_branch')) File "/home/andrei/workspace/hgsubversion/hgsubversion/svnrepo.py", line 76, in wrapper return fn(self, *args, opts) File "/home/andrei/workspace/hgsubversion/hgsubversion/svnrepo.py", line 95, in push return wrappers.push(self, remote, force, revs) File "/home/andrei/workspace/hgsubversion/hgsubversion/wrappers.py", line 207, in push pushmod.commit(ui, repo, old_ctx, meta, base_revision, svn) File "/home/andrei/workspace/hgsubversion/hgsubversion/pushmod.py", line 197, in commit props, newcopies) File "/home/andrei/workspace/hgsubversion/hgsubversion/svnwrap/svn_swig_wrapper.py", line 340, in commit self.pool) File "/usr/lib/pymodules/python2.7/libsvn/ra.py", line 584, in svn_ra_get_commit_editor2 return _ra.svn_ra_get_commit_editor2(args) svn.core.SubversionException: ("MKACTIVITY of '/svn/!svn/act/be2a1cc0-b5fe-4ad2-bb1c-d2c7af714bb5': authorization failed: Could not authenticate to server: rejected Basic challenge (https://findbugs.googlecode.com)", 170001)

}}}

Comments (3)

  1. Jan-Philip Gehrcke

    Same for me, what can we do about it? Final parts of the traceback:

        pushmod.commit(ui, repo, old_ctx, meta, base_revision, svn)
      File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/pushmod.py", line 197, in commit
        props, newcopies)
      File "/usr/lib/python2.7/dist-packages/hgext/hgsubversion/svnwrap/subvertpy_wrapper.py", line 345, in commit
        commiteditor = self.remote.get_commit_editor(revprops, commitcb)
    subvertpy.SubversionException: ("MKACTIVITY of '/!svn/act/0a31a0f8-d7f2-45b7-9f67-3cf9d53a585d': authorization failed: Could not authenticate to server: rejected Basic challenge (https://plugins.svn.wordpress.org)", 170001)
    
  2. Augie Fackler repo owner

    This looks like some sort of problem with basic auth, but I know for a fact hgsubversion handles basic auth just fine. Check for hostile proxies?

  3. Log in to comment