SVN从1个文件中的多个用户提交? [英] SVN Commit from multiple users in 1 file?

查看:137
本文介绍了SVN从1个文件中的多个用户提交?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,



如果2个用户正在处理同一个文件,并且第一个用户在存储库中提交它。如果第二个用户也提交到存储库会发生什么?是否会创建副本或其他东西?



谢谢,

Hey guys,

If 2 users are working on the same file, and the first user commits it in the repository. What will happen if the second user also commits to the repository? Will it create a duplicate or something else?

Thanks,

推荐答案

SVN不允许第二个用户提交他/她的文件。它将显示消息,说文件由另一个用户更新。

因此第二个用户应该更新,解决冲突(如果有的话),然后只有这个文件可以提交给svn。
SVN will not allow second user to commit his/her file. It will display message saying file is updated by another user.
So second user should take update, resolve conflicts(if any) and then only this file can be committed to svn.


这篇关于SVN从1个文件中的多个用户提交?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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