Looking at the code in trunk, it seems like this is coded properly and
should be working.  I am seeing unexpected behavior.  Maybe I just do
not understand how it works?

In Subclipse we expose UI to tell us the config directory location.
Most people just leave this as the default, which is same as command
line.  I wanted to test the password callbacks, so I pointed it at a
new folder so that I would get prompted again to cache credentials and
accept certs etc.  I have verified that the Subclipse code is properly
calling the method to set this folder, however I do not get any
prompts.  Only if I rename the default config directory do I get
prompts.  And I also see SVN recreate the default.

This leads me to believe this code is broken in trunk, but from what I
can see it looks right.

It looks like it calls a method on ClientContext:

ClientContext::setConfigDirectory(const char *configDir)
{
    // A change to the config directory may necessitate creation of
    // the config templates.
    SVN::Pool requestPool;
    SVN_JNI_ERR(svn_config_ensure(configDir, requestPool.pool()), );

    m_configDir = (configDir == NULL ? "" : configDir);
}

Any ideas?

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Reply via email to