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

Re: svn commit: r16244 - in trunk: . subversion/clients/cmdline subversion/include subversion/libsvn_client subversion/libsvn_wc subversion/svnversion subversion/tests/clients/cmdline subversion/tests/clients/cmdline/svntest tools/examples

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-09-25 13:43:07 CEST

> Author: brane
> Date: Sat Sep 24 21:22:00 2005
> New Revision: 16244
...
> Log:
...
> - On Windows, setting the environment variable SVN_ASP_DOT_NET_HACK
> will change the admin dir name to "_svn".
...
> * subversion/clients/cmdline/main.c,
> subversion/svnversion/main.c,
> tools/examples/minimal_client.c: On Windows, if the environment variable
> SVN_ASP_DOT_NET_HACK is set, change the admin dir name to "_svn".
...
> +#ifdef WIN32
> + /* Set the working copy administrative directory name. */
> + if (getenv ("SVN_ASP_DOT_NET_HACK"))
> + {
> + err = svn_wc_set_adm_dir ("_svn", pool);
> + if (err)
> + return svn_cmdline_handle_exit_error (err, pool, "svn: ");
> + }
> +#endif

Why restrict this to Windows?
Suppose some asp.net user ends up with a broken wc, zips it up and gives it
to their unix sysadmin for troubleshooting?
Corner case, I know, but with such a distinctive env-var name, is there any
harm in letting this code remain available on all platforms, just in case?

And, if it is to be restricted to Windows, what about 64-bit Windows?
(#ifdef WIN32)

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 25 13:44:04 2005

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

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