删除基石
(承认 - 我对 SVN 不是很熟悉,但有人建议我熟悉它。)
我经常删除工作副本中的文件或目录。这在《基石》中显示为“缺失”。提交工作副本会留下这些“幽灵”文件(我可以理解您有一天可能希望它们回来,但我至少希望它们脱离活动文件列表)。
有一个大的红色“删除”按钮,邀请您删除幽灵。但在下一次提交时,我被告知该操作无法完成。似乎就是这样。选择“Clean”会通知我该文件夹不是 Subversion 工作副本。我无法再使用我的存储库。
有人可以解释一下吗?
- 如何处理工作副本中的文件删除?
- 如何修复损坏的存储库?
谢谢
(Admission - I'm not very familiar with SVN, but have been advised to get familiar with it.)
I often delete a file or directory in my working copy. That shows up in Cornerstone as "missing". Committing the working copy leaves these "ghost" files around (I can understand you might want them back one day, but I want them out of the list of active files, at least).
There is a large, red "Delete" button which invites you to, well, delete the ghosts. But on the next commit, I'm informed that the operation can't be completed. And that seems to be that. Selecting "Clean" informs me that the folder is not a Subversion working copy. I can't use my repository any more.
Could anyone please shed some light?
- How do I handle file deletion in the working copy ?
- How do I repair my damaged repository ?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想我也经历过同样的事情。 (我也是 SVN 和使用 Cornerstone 的新手)。我一直在 Cornerstone 中而不是 Finder 中进行删除,这似乎工作得很好,没有丢失图标。我得到一个红色的 D 图标,然后我提交,并且没有幽灵文件或丢失!图标。
我只是尝试从工作副本目录中删除,然后!缺少图标和 Ghost 文件徘徊,但如果我右键单击 Ghost 文件并选择删除,我会看到 D 图标。然后提交,一切都很好......不再有幽灵文件。
我一直在更新我的 Cornerstone 版本。我现在是 v2.5.2。也许这是基石中已修复的问题?我想我记得有一次和你有过完全相同的经历。我想我退出了 Cornerstone,将其重新打开,选择了该工作副本,然后单击“更新”,它修复了它,但不确定......
I think I've had the same thing happen to me. (I'm also new to SVN and using Cornerstone). I've been doing the deleting from within Cornerstone instead of the Finder and that seems to work pretty well, no missing icon. I get a red D icon, then I commit and there's no ghost file or missing ! icon.
I did just try deleting from the working copy directory and that ! missing icon and ghost file hang around, but if I right-click on the ghost file and choose delete, I get the D icon. Then Commit, everything is fine... no more ghost file.
I've been updating my version of Cornerstone. I'm at v2.5.2. Maybe that's something that's been fixed in Cornerstone? I think I remember having the exact same experience as you at 1 point. I think I quit Cornerstone, opened it back up, selected that working-copy, then hit Update and it fixed it, not sure though...