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

RE: Default user on commit

From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 18 Apr 2014 21:06:16 +0200

> -----Original Message-----
> From: Justin Mrkva [mailto:mail_at_justinmrkva.com]
> Sent: vrijdag 18 april 2014 18:16
> To: Subversion Users
> Subject: Default user on commit
>
> I have two local working copies, both on my local user account. I am
> managing commits for another user, so he sends me files and I check them
> in. It's weird but we have our reasons for this.
>
> So I go into his working copy, replace the file in question with his copy,
then
> do `svn ci --username other` and it works fine. But next time I go into my
> working copy, if I commit using `svn ci` without specifying username, it
> "remembers" the alternate username.
>
> Is there a way to keep these from "sticking"? Or a way to specify a
default
> username? Otherwise I'll probably just specify each time, but it's not
ideal as
> it's too easy to forget to specify it. I had hoped that omitting the
--username
> argument would always default to the user's local user account name, but
> that's not the case.

You can pass --no-auth-cache with --username to avoid storing the new
credentials.

        Bert
>
> And yes, I know I could create a second local user account to make sure
they
> stay separate. I'd rather not, though, if there's another way to do it.
Received on 2014-04-18 21:07:05 CEST

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.