Facing problem in developing simple locking function in subversion
From: hanchiou.gooi <hanchiou.gooi_at_sireslabs.com>
Date: 2006-09-04 10:50:13 CEST
Hi guys,
I face the problems in writing a simple c programme to lock a file using svn_client_lock function, I just blindly try and error based on some subversion book to implement one, but it seem that I not successful in do so, perhaps someone here can guide in using subversion API to develop my custom basic svn client. I attach my source code for it.
#include <unistd.h>
#include <svn_client.h>
/* Define some global structs */
/* Define some path strings */
/* The base string for tags */
/* Creates the commit log for the tagging */
return SVN_NO_ERROR;
svn_error_t* initializeContext(apr_pool_t* pool)
/* Get the configuration data structure for the context */
/* Set the callback function for setting the commit log */
return SVN_NO_ERROR;
void Show_Version()
/* Main */
SVN_INT_ERR(svn_client_lock(targets,
Thanks!
Gooi Han Chiou
---------------------------------------------------------------------
|
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.