Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include "svn_pools.h"
- #include "svn_client.h"
- int main(int argc, char* argv[])
- {
- svn_error_t *err;
- apr_pool_t *pool;
- svn_client_ctx_t *ctx;
- apr_initialize();
- pool = svn_pool_create( NULL );
- if ( err = svn_client_create_context( &ctx, pool ) )
- {
- svn_pool_destroy( pool );
- return 0;
- }
- err = svn_client_checkout( NULL, "http://streetview-explorer.googlecode.com/svn/trunk/", "C:\\sve", NULL, true, ctx, pool );
- svn_pool_destroy( pool );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement