Revision: 40710
http://brlcad.svn.sourceforge.net/brlcad/?rev=40710&view=rev
Author: starseeker
Date: 2010-09-27 18:55:34 +0000 (Mon, 27 Sep 2010)
Log Message:
-----------
Update the second checkout. Probably don't have all the baton stuff set up
right, which may impact simulataneous access, but this should go a ways to
pointing out how to work with subversion from C.
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-27 18:53:21 UTC
(rev 40709)
+++ rt^3/branches/subversion-cmake/svntest/main.c 2010-09-27 18:55:34 UTC
(rev 40710)
@@ -399,6 +399,12 @@
svn_client_commit4(&commit_info, targets, svn_depth_empty, FALSE, FALSE,
NULL, NULL, ctx, subpool);
/* Perform an update operation on the second repository */
+ svn_pool_clear(subpool);
+ apr_array_header_t *update_targets = apr_array_make(pool, 5, sizeof(const
char *));
+ APR_ARRAY_PUSH(update_targets, const char *) = full_checkout_path2;
+ svn_opt_revision_t svnrev;
+ svnrev.kind = svn_opt_revision_unspecified;
+ svn_client_update3(NULL, update_targets, &svnrev, svn_depth_unknown, 0, 0,
0, ctx, subpool);
/* Done, now clean up */
svn_pool_destroy(pool);
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