如何在C ++中连接SVN服务器? [英] How to Connect SVN server in C++?

查看:48
本文介绍了如何在C ++中连接SVN服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想连接一台svn服务器,并使用C ++将一个文件下载到我的计算机上.我该怎么做?

I want to connect an svn server and download one file to my computer by using C++. How can I make this?

推荐答案

您有一些选择:

  1. 设置 WebDAV并使用HTTP.
  2. 使用 SVN客户端库并使用它进行集成./li>
  1. Set up WebDAV and use HTTP.
  2. Use the SVN client library and integrate using it.

我过去曾经做过两种方法.SVN客户端库实际上非常易于使用.

I've done both approaches in the past. The SVN client library is actually quite easy to use.

具有Subversion的版本控制中描述了Subversion客户端库..请特别注意第3章 subversion.apache.org 获取源快照并阅读源代码用于命令行客户端.它位于< root>/subversion/clients/cmdline 中.我发现来源很容易理解.

The subversion client library is described in Version Control with Subversion. Pay particular attention to Chapter 3 and Chapter 8. I started by grabbing a source snapshot from subversion.apache.org and reading the source code for the command line client. It's in <root>/subversion/clients/cmdline. I found that the source is easy enough to follow.

这篇关于如何在C ++中连接SVN服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆