如何访问我的计算机上的本地 svn 存储库?
目前还不是 svn 专家。我创建了一个本地存储库。当我浏览 Windows 资源管理器中的文件夹时,它始终是空的。发现您需要 apache Web 服务器才能使用 file:/// 协议访问存储库? (当然我可以从 Visual Studio 访问存储库)。
我想直接访问存储库。问题是,我在 apache 根文件夹 (c:\reposiataries\test) 以外的文件夹中创建了存储库。有人可以指导我如何在 Windows 资源管理器或 Internet 资源管理器中访问此存储库吗?我安装了xampp,即Apache、Mysql、PHP。
谢谢
Not an expert in svn right now. I created a local repository. When I would browse to the folder in Windows Explorer, it would always be empty. Found out that you need apache webserver to access the repository using file:/// protocol? (of course I can access the repository from visual studio).
I want to access the respository directly. The problem is, I created repository in folder other than apache root folder (c:\reposiataries\test). Can some guide me how can I access this repository either in windows explorer or internet explorer? I have xampp install, that is Apache, Mysql, PHP.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用 Tortoise SVN 等 svn 客户端来签出存储库。
Use an svn client like Tortoise SVN to checkout the repository.
您可以直接在文件系统中访问您的存储库。但是,如果您想使用 apache 来为您的存储库提供服务(您不必这样做),您需要一些 apache 模块,或者您可以查看 collabnet subversion 发行版: http://www.open.collab.net/products/subversion/
you can access your repo directly in your filesystem. If however you want to use apache to serve your repo (you don't have to), you need some apache modules or alternatively you could look into the collabnet subversion distribution: http://www.open.collab.net/products/subversion/
您不一定需要网络服务器来访问存储库。您只需将您的客户端(我使用TortoiseSVN)指向存储库文件夹本身即可。对我来说,“my-repository”存储库位于 C:\ 驱动器上的
C:\csvn\data\repositories\my-repository
中。此后,您应该在所述存储库中拥有数据的工作副本。您可以提交、恢复、查看日志等。
You don't necessarily need a webserver to access the repository. You can just point your client (I used TortoiseSVN) to the repository folder itself. For me, the "my-repository" repo was on the C:\ drive, in
C:\csvn\data\repositories\my-repository
.After this, you should have a working copy of the data in said repository. You can commit, revert, view logs, etc.