subclipse:相同的用户ID,不同的机器
我有一个关于 SVN 的非常基本的问题。我知道 SVN 对事物有相当严格的规则。如果我尝试这样做,我会不会搞砸我的项目,我很想知道。
我经常使用两台计算机——现场和现场。从家里。我在两者上都安装了 Eclipse(Galelio) + subclipse(1.6.x)。如果我要使用相同的用户 ID 从不同计算机上的 SVN 存储库中签出同一项目,那么在提交或更新期间会出现任何问题吗?
我会定期从不同的机器提交,但当然会使用相同的用户 ID。
I have a very basic question about SVN. I know SVN has pretty strict rules about things & was wonedring if I would mess up my project if I tried this.
I use two computers regularly - onsite & from home. I have Eclipse(Galelio) + subclipse(1.6.x) installed on both. If I were to checkout the same project from SVN repository on different machines using the SAME user ID, would there be any sort of problems during commits or updates?
I will be committing from different machines regularly, but of course it will be the same user ID.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 SVN 中,每次提交都会被识别,无论提交的用户是谁。
进行提交的用户只是提交消息之类的信息,仅此而已。
因此,与由不同用户完成提交相比,您将能够在 2 个工作存储库上进行提交,而不会产生更少或更多的冲突;)
In SVN, each commit is identified, no matter of the user that made the commit.
User that made the commit is only an information like the commit message, nothing more.
So, you will be able to commit on your 2 working repositories without less or more conflicts than if the commits were done by different users ;)
SVN 不跟踪结账,无论您使用什么用户名。您甚至可以在一台机器上压缩结账,将其移动到另一台机器上并解压缩。
在提交时,您提供的用户名将确定提交的作者。在你的另一台机器上,没有这个提交,svn up 会很好地引入这个新的提交。
简而言之,作者姓名只是历史日志的一条信息。从不同的机器使用相同的存储库不会导致任何问题。
SVN does not track checkouts, it does not matter what username you use. You could even zip up a checkout on one machine move it to another and unzip it.
At commit time, the username you provide will determine the author for the commit. On your other machine, which does not have this commit, an svn up will bring in this new commit fine.
In short, the author name is just a piece of information for history log. It is not going to cause any problems to use the same repos from different machines.