Hello,
I'm trying to use svn_wc_prop_set4 to set a property on my local working
copy (1.7) and I keep getting the error:
No write-lock in 'T:\VIP00192\test_1.7\LFD_Dev_14'
OS: Windows
Compiler: visual c++
SVN package: svn-win32-1.7.5
Leslie Donaldson
Boiled down code:
apr_pool_t* pool = NULL;
pool = svn_pool_create(NULL);
svn_fs_initialize (pool);
svn_config_ensure (NULL, pool);
apr_hash_t* cfg_hash = NULL;
svn_config_get_config(&cfg_hash, NULL, pool);
svn_config_t* cfg_config = (svn_config_t *)apr_hash_get(cfg_hash,
SVN_CONFIG_CATEGORY_CONFIG, APR_HASH_KEY_STRING);
svn_wc_context_t* wc_ctx = NULL;
svn_wc_context_create(&wc_ctx,cfg_config,result_pool,scratch_pool);
char * name = "svn:externals";
svn_wc_prop_set4(wc_ctx,FullPath,name,&value,svn_depth_empty,FALSE,NULL,NULL,NULL,NULL,NULL,scratch_pool);
char* FullPath = "T:/VIP00192/test_1.7/LFD_Dev_14"
svn_string_t value; is a list of externals.