Subversion 没有更新原始项目?
我是 Subversion 的新手,我导入了一个我们一直在开发的 Web 项目。 我们可以通过存储库访问所有内容。我们可以签出文件、更新它们、提交它们,并且所有更改都可以被其他用户看到。
我的问题是,它不应该写回我导入的原始项目文件夹吗?我看不到那里所做的更改,只能在存储库中看到?
I am new to subversion, I have imported an web project that we have been working on.
We are able to access everything via the repository. We can checkout files, update them, commit them, and all of the changes can be seen by other users.
My question is, shouldn't it write back to the original project folder I imported? I can not see the changes made there, only in the repository?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
假设您将从 import_repo 获取源代码,并使用 work_repo 进行工作/提交更改。
导入
,或者如果 import_repo 是 work_repo,则忽略此步骤。您将使用 work_repo 获取存储库Checkout
中包含的文件更新
您的工作副本(硬盘上的文件夹),这是一种同步从存储库到本地源
添加
您新创建的文件或删除
您想要删除的文件。现在不会添加或删除,但它们会被标记为下一次提交Commit
,这是从本地源到您的存储库的同步检查是否存在
.svn 文件。它们是您与存储库源的“同步”。
如果您导入了项目,则已断开与存储库的链接(就像源的简单复制/粘贴)。
如果您想保持同步,请尝试
结帐
。Let's say you will get your sources from import_repo and work/commit changes with work_repo.
Import
from your import_repo, or ignore this step if import_repo is work_repo. You are getting the files contained in the repoCheckout
with work_repo. You are creating a link between your local folder and the repoUpdate
your working copy (your folder on your hard drive), it is a synchronizationfrom the repo to your local sources
Add
the files you newly created ordelete
the ones you want to get rid of. It won't add or delete right now, but they will be tagged for the next commitCommit
, it is the synchronization from your local sources to your repoCheck the presence of
.svn
files. They are your "synchronization" with the repo's sources.If you imported your project, you have broken the link with the repository (like a simple copy/paste of the sources).
If you want to keep the synchronization, try to
checkout
instead.