<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_svn_login(realm, username, may_save):
 """ provide svn with permissions. @TODO this will have to be updated to take into account automated releases etc. """

    import getpass

    print "svn requires a password for the user %s:" % username
    pwd = ''
    while not pwd.strip():
        pwd = getpass.getpass("--> ")

    return True, username, pwd, False