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

Re: [TSVN] VS.NET, _svn and .svn folders

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-30 08:18:15 CEST

On 9/30/05, Fernando P. Nájera Cano <tortoisesvn@fernandonajera.com> wrote:

> Don't really know how TSVN calls SVN libraries but, wouldn't be
> enought to just check registry at HKEY_CURRENT_USER\Environment and
> HKEY_USERS\.DEFAULT\Environment and look for SVN_ASP_DOT_NET_HACK? At
> least for W2K and above, all the environment variables are there, and
> there would be one reboot less in our world ;)

Well, can you *guarantee* that this is the registry key on *all*
windows versions TSVN runs on? Including all servicepacks and language
variations?

> I really don't use _SVN but maybe if there is no reboot involved,
> (lazy) people with spare time (I think I saw one of them yesterday,
> don't know where exactly :D) could think of trying it. If you have to
> reboot... you know...

And since both getenv() and reading a registry value is an expensive
operation, both Subversion and TSVN only check this on program startup
- which in case of the shell extension is when the desktop is loaded
(i.e. after a reboot or logout).

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Sep 30 08:18:54 2005

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

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