Offer re-prompt to change user authn after failed commit?
From: Karl Fogel <kfogel_at_red-bean.com>
Date: Fri, 3 Feb 2017 10:53:11 -0800 (PST)
In TortoiseSVN 1.9.5, on a Windows 10 box , I needed to do a commit from an existing working copy, but on that machine, Tortoise only had cached authentication credentials for a read-only user for the repository in question.
"No problem," I thought, "It'll just fail the first commit attempt, because it will default first to the cached user creds, but then it will prompt me for a new username / password pair, the way the command-line client would, and let me commit with those."
That's not what happened. I right-clicked on the file and chose "TortoiseSVN Commit", and as expected the initial commit attempt failed... but that was it. There was no re-prompt interface at which I could enter a different username and password. The only client-side solution would have been to wipe out all the cached authentication credentials, which of course I didn't want to do (I didn't want to lose the creds for the read-only user, I just wanted to do this commit as another user.) The solution I actually used was to temporarily enable read-write for the original user on the repository side, commit, and then use propset to change the "svn:author" revprop. But that's obviously not ideal, and would have been impossible if I didn't have admin access to the repository.
Is there a re-prompt feature in TortoiseSVN and I just didn't manage to find it? Or if not, would this be a desirable feature to have? (I looked in the ChangeLog, the users@ archive, and in the bug tracker, and did not see any discussion of this enhancement.)
 Details of my TortoiseSVN installation:
TortoiseSVN 1.9.5, Build 27581 - 64 Bit, 2016/11/26 09:18:58
 In case anyone who knows me is on this list, which seems possible
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
This is an archived mail posted to the TortoiseSVN Users mailing list.