[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can I commit under a different user name?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 11 Jan 2011 12:50:58 -0500

On Tue, Jan 11, 2011 at 12:42, NN Ott <nonot100_at_gmail.com> wrote:
> Hi all,
> If UserA checks out a working copy on to his machine, can UserB walk up to
> that machine and the commit changes under his own credentials?
> Would seem possible, but just wanted to double check if there are any pit
> falls.
> Thanks

Credentials are cached in the user's home directory (~/.subversion,
%APPDATA%\subversion), not in the working copy. If the 2 users have
separate logins on the machine, then it's real easy. Otherwise, you
can pass --username and --password command-line options.

But I'd advise against encouraging this practice. In this scheme,
UserA can make changes, and they'll be attributed to UserB in
Subversion. A malicious UserA could cause a lot of trouble for UserB
here.
Received on 2011-01-11 18:52:15 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.