A quick look at the source shows that this is due to
client.callback_get_login = get_login
def get_login(realm, username, may_save):
nocallback()
## pysvn supports a number of callbacks for scenarios I've yet to
## encounter. For now, just emit a warning to hopefully clue the user
## in about what went wrong - maybe they'll send a patch! :)
def nocallback():
sys.stderr.write("Warning: Unimplemented callback: %s\n" %
(sys._getframe(1).f_code.co_name))
callback_get_login itself is documented here:
http://pysvn.tigris.org/docs/pysvn_prog_ref.html#pysvn_client_callback_get_login
so, a somewhat crude approach is to just install
def get_login(realm, username, may_save):
print "Called get_login with", repr(username), repr(may_save)
return (True, username, raw_input("Password for %s (svn): " %
username), True)
(The second "True" tells svn to "save" the password and not reprompt -
which causes the svn.simple entry to switch from gnome-keyring to
"passtype=simple" and keeps the password in plaintext in that file...
just so you know...)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/509425
Title:
svn-load can't connect to my repository
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs