使用本地 SVN 服务器:TortoiseSVN 客户端时,我的本地文件在哪里?
我刚开始接触SVN,还没有完全理解。
我安装了 Subversion,然后使用 TortoiseSVN 创建了一个本地存储库。然后我将一些项目导入到 SVN 存储库,但我不知道这些文件本地存储在哪里?
知道我还能去哪里看吗?
I'm starting with SVN and I don't fully understanding yet.
I installed Subversion and then I created a local repository with TortoiseSVN. I've then imported a few projects to the SVN repository but I have no idea where are those files locally stored?
Any idea where else I could look?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
源代码管理服务器上的存储库本身并不将文件存储在您熟悉的同一文件夹结构中。 Subversion 有自己独特的数据库结构,这就是您在存储库文件夹中看到的结构。
为了使用源代码控制文件,您需要签出存储库到机器上其他地方的工作副本。存储库本身不会被直接编辑,您将代码检出到工作副本,进行更改,然后将其重新检入。然后,Subversion 将更改历史记录作为一系列差异维护在其数据库中。
如果您考虑到大多数人将其存储库放在 Subversion 服务器上,并将工作副本放在本地计算机上,那么您可能会更容易理解。
The repository itself on the source control server does not store the files in the same folder structure that you are familiar with. Subversion has its own unique database structure, which is what you're seeing in the repository folder.
In order to work with the source controlled files, you need to check out the repository to a working copy elsewhere on your machine. The repository itself doesn't get edited directly, you check out your code to your working copy, make changes, and then check it back in. Subversion then maintains the change history in its database as a series of differences.
It might be easier to get your head around if you consider that most people will have their repository on a Subversion server, and their working copy on their local machine.