Sourceforge 和 SVN
我刚刚向 sourceforge 添加了一个本地项目。我搬动了一些东西, 并通过 shell 和 netbeans 导入。现在,当我在线浏览代码时 http://sourceforge.net/p/flamethyst/code/5/tree/ 有些文件出现在多个目录中(复制、自述文件),并且“Flamethyst”目录根本不应该存在。
如果我从本地项目中移动或删除文件并提交,这是否应该反映在存储库中的某个位置?有没有办法只浏览当前文件,而不浏览旧版本?
I just added a local project to sourceforge. I moved some things around,
and imported via shell and netbeans. Now, when I browse the code online at
http://sourceforge.net/p/flamethyst/code/5/tree/
some files appear in multiple directories, (COPYING, README) and the "Flamethyst" directory should not be there at all.
If I move or remove a file from my local project and commit, should this not be reflected in the repository somewhere? Is there a way to browse the CURRENT files only, not older revisions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
仅仅移动或删除文件是不够的,您需要告诉 Subversion 并将更改提交到存储库。这可以使用 svn 命令行工具通过执行
svn mv
进行移动/重命名或执行svn rm
进行删除来完成。一旦提交,所做的更改应该在网站上可见。我不熟悉 Netbeans,但我确信在那里也可以做到这一点。It's not enough to just move or remove a file, you need to tell Subversion about it and commit that change to the repository. This can be done using the svn command line tool by doing
svn mv
for moving/renaming orsvn rm
for removing. Once you commit after that the changes should be visible on the web site. I'm not familiar with Netbeans but I'm sure that can be done there as well.