SVN服务器端的数据存放在哪里? [英] Where does SVN store the data on the server side?

查看:142
本文介绍了SVN服务器端的数据存放在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网络主机服务器上创建了一个 svn 存储库,并成功地向它提交了文件并从中更新了文件,但我似乎无法在服务器上实际找到这些文件!

I have created an svn repo on my web host server and successfully commit files to it and updated files from it but I can't seem to actually find the files on the server!

我的 svn 存储库位于 ~/svn/my-first-repo/ 中,其中包含以下内容:./../README.txt conf/db/format hooks/locks/.

My svn repo is in ~/svn/my-first-repo/ which contains the following: ./ ../ README.txt conf/ db/ format hooks/ locks/.

但我实际进行版本控制的文件在哪里?!

它确实有效,因为我能够将同一个远程存储库签出到另一个本地目录中,并且所有文件都神奇地出现了!仿佛不知从何而来……

It's definitely worked because I was able to checkout the same remote repo into another local directory and all the files magically appeared! As if from nowhere...

推荐答案

文件本身位于存储库中.如果您想查看它们,则需要进行结帐.因为 Subversion 保留了项目中所有文件的完整更改历史记录,所以您永远不会在存储库的文件夹结构下看到完全重构的工作副本.

The files themselves are within the repository. If you want to see them, then you need to perform a checkout. Because subversion keeps complete change history for all files within your project, you will never see a fully reconstituted working copy underneath the repository's folder structure.

基本上,发生的是位于主机文件系统之上的版本化文件系统".您应该更详细地阅读 Subversion 文件系统,以便您可以准确了解当您向存储库提交更改时发生了什么.

Basically, what's happening is a "versioned filesystem" that sits on top of your host filesystem. You should probably read up on the Subversion filesystem in more detail so you can understand exactly what is happening when you commit changes to your repository.

这篇关于SVN服务器端的数据存放在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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