svn commit 显示添加的更新文件
我最近签入(修改)了一些文件。当我尝试从本地计算机观看日志时,一切都很完美。(签入的文件显示修改状态。)
但是当我尝试从其他人的计算机观看日志历史记录时,签入的文件显示为新文件补充道。
有人会提出这种奇怪行为的原因吗?
I checked in (modified )some of the files recently . When i'm trying to watch the Logs from my local machine every thing is perfect .(the checked in file shows modified status.)
But When i try to watch the Log History from someone else's machine ,the checked in files are showing as newly added .
Would someone suggest the reason for this strange behaviour .?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
猜测#1:你们都在编写相同的代码吗?验证两台计算机上的结账路径是否相同。
Guess #1: Are you both working on the same code? Verify that the checkout path is the same on both machines.
您是否更新了另一台计算机上的本地工作副本?查看工作副本的历史记录时,
svn log
显示工作副本中的提交,而不是存储库中的提交。Have you
update
d the local working copy on the other machine? When viewing the history of a working copy,svn log
shows the commits in the working copy, not the repository.这对他们来说可能是“新的”(即在您进行修改之前他们没有签出文件)。
It could be "new" to them (i.e. they had not checked out the files before you made your modifications).
也许您正在检查不同的主干、存储库或分支。
Perhaps you are you checking into a different trunk, repository or branch.