authorization failed comitting to https repository

Bug #123331 reported by Joerg Bornschein
This bug report is a duplicate of:  Bug #120768: Should prompt for passwords. Edit Remove
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

Branchig from my https-svn repository did not require authentification and worked fine. When I try to push, I get:

--
$ bzr push https://user:<email address hidden>/svn/project/trunk
bzr: ERROR: libsvn._core.SubversionException: ("MKACTIVITY of '/svn/!svn/act/7f2252ff-07e7-4543-9c6b-0ca68b998c79': authorization failed (https://host.org)", 170001)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 718, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 679, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 375, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 804, in run
    push_result = br_from.push(br_to, overwrite)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1542, in push
    _override_hook_source_branch=_override_hook_source_branch)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1584, in _push_with_bound_branches
    result = self._basic_push(target, overwrite, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1603, in _basic_push
    target.update_revisions(self, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/branch.py", line 216, in update_revisions
    push_as_merged(self, other, rev_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/commit.py", line 438, in push_as_merged
    return builder.commit(rev.message)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/commit.py", line 301, in commit
    message.encode("utf-8"), done, None, False)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/transport.py", line 40, in locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/transport.py", line 232, in get_commit_editor
    return svn.ra.get_commit_editor(self._ra, *args, **kwargs)
  File "/var/lib/python-support/python2.5/libsvn/ra.py", line 386, in svn_ra_get_commit_editor
    return apply(_ra.svn_ra_get_commit_editor, args)
SubversionException: ("MKACTIVITY of '/svn/!svn/act/7f2252ff-07e7-4543-9c6b-0ca68b998c79': authorization failed (https://host.org)", 170001)

bzr 0.17.0 on python 2.5.1.final.0 (linux2)
--

I tried different URL schemes: svn+https, with-or-without user:passwd

Revision history for this message
Joerg Bornschein (j.bornschein) wrote :

If I had used svn previously on that URL, and svn had stored the password everything works great.

So I suspect it's only the password-prompt which is missing?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yep, exactly. I've marked this as a dupe of #120768.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.