/* ====================================================================
* Copyright (c) 2003-2006, Martin Hauner
* http://subcommander.tigris.org
*
* Subcommander is licensed as described in the file doc/COPYING, which
* you should have received as part of this distribution.
* ====================================================================
*/
// sc
#include "svn.h"
#include "util/apr.h"
// apr
#include <apr_env.h>
namespace svn
{
void setAspDotNetAdmDir( bool enable )
{
#ifdef _WIN32
apr::Pool pool;
if( enable )
{
svn_error_t* err = svn_wc_set_adm_dir( "_svn", pool );
}
#endif // _WIN32
// apr_env_set( "SVN_ASP_DOT_NET_HACK", "*", pool );
// apr_env_delete( "SVN_ASP_DOT_NET_HACK", pool );
// apr_status_t status = apr_env_get( &value, "SVN_ASP_DOT_NET_HACK", pool );
}
} // namespace;
syntax highlighted by Code2HTML, v. 0.9.1