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

Re: Feature Request: clear saved data from the command line

From: Rick Yorgason <rick_at_firefang.com>
Date: Tue, 29 Jan 2008 04:17:29 -0500

Jim Kring wrote:
> If I am pair programming with someone and we are using my computer,
> I'm not going to great a Windows account for them on my computer,
> we're just going to use my windows session.

I know it was just an example, but if that's the case, you have no need
to remove your auth data, because you're just going to continue using
the same auth data once your partner stops working with you.

The guest account you mentioned in your last email does make sense, and
it's the same kind of setup one would want for, say, a computer lab, but
in that case just clearing the SVN data is short-sighted -- you should
be clearing *all* of the user settings!

I'm sure the people who run computer labs would *love* it if there was
an easy way to do that, without having to re-ghost the machine. I don't
know of an easy way, but I imagine you can almost get there by saving
off a known-safe copy of the \Users\Guest directory and then restoring
it whenever the Guest logs off (this is the part I don't know how to do
-- it would have to be done after the registry hive
(\Users\Guest\NTUSER.dat) is unloaded.

Nowadays, that folder should contain all user settings. Vista does a
pretty good job with its (otherwise annoying) "Virtual Store", but a lot
of apps for XP will still write to the Program Files directory. Oh, and
the directory name I gave you is for Vista; the proper way to find the
user's app data directory is with a call to SHGetFolderPath or its brethren.

If you can get that to work, it's probably a better solution for what
you're describing.

-Rick-

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-29 10:17:49 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.