On 2/12/06, Dave Wolfe <dwolfe@gforcetech.com> wrote:
>
> I just did something hackish in an attempt to prevent people from
> accidentally committing under the wrong username on a shared dev box in
> our office. (I keep checking the logs and seeing my username next to
> commit messages that I didn't write!)
>
> So I wrote the following one-line batch script:
>
> REM TSVNAuthClobber.bat
> del /q "C:\Documents and Settings\Gforce\Application
> Data\Subversion\auth\svn.simple\*.*"
>
> and told the Task Scheduler to run it on startup, and every 60 minutes
> thereafter. (I wanted to run it when users log off, too, but there
> doesn't seem to be an option for that in Task Scheduler.)
This thread covers how to run a script on logoff (and other events):
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_21195727.html.
This kinda/sort works, but leaves me wondering if there's not already a
> better way? Can I make TortoiseSVN pop up an (already-populated)
> username/password confirmation dialog so that people will remember to
> log in as themselves if the cached username isn't theirs?
>
A prepopulated username/password dialog probably wouldn't help much. Most
people would just automatically hit 'enter'.
Received on Mon Feb 13 20:36:36 2006