Revision: 40688
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40688&view=rev
Author:   starseeker
Date:     2010-09-26 16:06:42 +0000 (Sun, 26 Sep 2010)

Log Message:
-----------
stub in some of the commit calls, but it's not this simple - seg faults because 
there is no commit info.  May need to dig deeper into subversions commit 
information requirements.

Modified Paths:
--------------
    rt^3/branches/subversion-cmake/svntest/main.c

Modified: rt^3/branches/subversion-cmake/svntest/main.c
===================================================================
--- rt^3/branches/subversion-cmake/svntest/main.c       2010-09-26 15:44:45 UTC 
(rev 40687)
+++ rt^3/branches/subversion-cmake/svntest/main.c       2010-09-26 16:06:42 UTC 
(rev 40688)
@@ -16,6 +16,7 @@
 #include "svn_time.h"
 #include "svn_user.h"
 #include "svn_client.h"
+#include "svn_wc.h"
 
 #include "private/svn_opt_private.h"
 
@@ -391,6 +392,10 @@
 
 
   /* Commit the changes */
+  apr_array_header_t *targets = apr_array_make(pool, 5, sizeof(const char *));
+  APR_ARRAY_PUSH(targets, const char *) = file_path;
+  svn_pool_clear(subpool);
+  svn_client_commit4(NULL, targets, svn_depth_empty, FALSE, FALSE, NULL, NULL, 
ctx, subpool);
 
   /* Perform an update operation on the second repository */
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to