wincvs中重命名文件夹
我在 wincvs 的“mainFolder”内有一个名为“subFolder”的文件夹。现在我决定将此文件夹重命名为“subfolder”以使所有字母都小写。所以我删除了“subFolder”文件夹中的所有内容然后我刷新看到“subFolder”文件夹消失。然后我在“mainFolder”文件夹中创建了新文件夹“subfolder”,并将旧“subFolder”文件夹中的所有文件保留在其中,并将文件夹和文件添加到但现在每当我从 CVS 签出时,我仍然得到文件夹“subFolder”而不是“subfolder”。有什么解决方案吗?
I was having a folder named as 'subFolder' inside 'mainFolder' in wincvs.Now I decided to rename this folder as 'subfolder' to make all the letters in lower case.So I have deleted all the contents from the 'subFolder' folder and then I did a refresh to see 'subFolder' folder disappearing.Then I created new folder 'subfolder' inside 'mainFolder' folder and kept all the files which were there in old 'subFolder' folder inside that and added the folder and files into the repository.But now whenever I am checking out from CVS I am still getting the folder 'subFolder' instead of 'subfolder'.Any solutions ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
CVS 实际上不会删除目录。实在是太蠢了。为了看到它们“消失”,您需要在更新期间打开修剪。我不知道如何在 WinCVS 中执行此操作。
CVS doesn't actually ever delete directories. It's really dumb. In order to see them "disappear", you need to turn on pruning during your updates. I'm not sure how to do this in WinCVS.
如果您还复制了 CVS 隐藏文件夹,则新的“子文件夹”将连接到“SubFloder”。这有点像编程——有两个指向同一个对象的指针。
尝试再次删除该文件夹,然后在文件资源管理器中尝试删除隐藏文件夹并尝试再次添加“子文件夹”和文件 - 这将创建一个新的(隐藏)CVS 文件夹。请注意,这也会将所有文件修订版设置回 1.1。
希望这能解决你的问题
if you copied the CVS hidden folder as well then the new 'subfolder' is connected to 'SubFloder'. it's kind of like in programming - you have 2 pointers to the same object.
try removing the folder again, then in the file explorer try deleting the hidden folder and the try adding 'subfolder' and files again - this will create a new (hidden) CVS folder. please note that this will also set all file revision back to 1.1.
hope this solves your problem