SVN:如何解决“文件已被替换”地位
我正在修改文件、重命名它们并切换它们(我正在测试替代主页)。现在我收到一条状态消息,上面写着“文件已被替换”和一个 R。我不知道该怎么做才能解决这个问题。我正在使用 Coda,但它没有解决这个问题。所以我想这是命令行时间。我关心的版本是我的本地版本,我想覆盖远程版本。我是唯一一个从事这方面工作的人,所以蛮力方法就可以了。
I was modifying files renaming them and switching them around (I was testing alternative homepages). Now I get a status message that says 'File has been replaced' and an R. I'm not sure what to do to solve this. I'm using Coda, and it does not solve it. So i guess it's command line time. The version that I care about is my local version, and I want to overwrite the remote version. i'm the only person working on it so a brute force approach is fine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我通过简单地提交来修复它。由于某种原因,代码没有自动执行此操作。
i fixed it by simply committing. it for some reason code did not do this automatically.
我使用了与 Version Control Buddy 解释的类似过程,通过 Subversive SVN Connector 在 RAD 中纠正此问题(Eclipse 可能类似):
请注意,我发现如果直接签入显示为“替换”的文件,则不容易查看原始文件的历史记录,因此可能值得执行这些步骤来保留历史记录,尤其是在多用户项目上。
I used a similar procedure to that explained by Version Control Buddy to correct this issue in RAD with Subversive SVN Connector (Eclipse may be similar):
Note that I find if I just directly check in a file that is showing as Replace, the history of the original file is not easily view-able, so it may be worth these steps to preserve the history, especially on a multi-user project.