带有 Eclipse 的 SVN:提交不起作用,而是“跳过”信息
我将 Eclipse 与 SVN 一起使用。除了其他文件夹外,我还有一个文件夹“应用程序”。该文件夹包含其他几个文件夹,其中包括“缓存”和“日志”。我将 svn:ignore 属性添加到“缓存”和“日志”。现在“应用程序”有这个星号,意味着它包含未提交的更改。但是当我尝试提交时,我收到此消息
commit -m "svn:ignore" -N C:/Xampp/htdocs/application
Sending C:/Xampp/htdocs/application
Skipped
如何解决?
I use Eclipse with SVN. Besides others I have a folder "application". This folder contains several other folders, among these "cache" and "logs". I added the svn:ignore property to "cache" and "logs". Now "application" has this star-Symbol, meaning that it contains uncommitted changes. But when I try to commit, I get this message
commit -m "svn:ignore" -N C:/Xampp/htdocs/application
Sending C:/Xampp/htdocs/application
Skipped
How to solve?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
由于您没有发布 svn status 的内容,所以这里不太可能,但我建议您看一下 http://www.tecnotertulia.com/development/svn-skipped-pathtofile-is-misleading/96。
Long shot here since you didn't post the contents of an svn status but I suggest that you take a peek at http://www.tecnotertulia.com/development/svn-skipped-pathtofile-is-misleading/96.
当本地文件和存储库文件之间存在冲突时,就会发生这种情况。尝试同步文件(右键->团队->同步)。在此视图中,您将看到任何冲突。
在命令行中使用
svn status
来检查状态,这可能会说明跳过的原因。This is happening when there is a conflict between local file and the repository file. Try to synchronize the files (right click -> team -> synchronize). In this view you will see any conflicts you have.
In command line use
svn status
to check the status, this might say the skip reason.确保使用与创建存储库相同的用户启动 SVN。当我重述我的 SVN 时,我遇到了同样的错误。然后意识到我还没有使用root用户启动我的SVN。
Make sure the SVN is started with the same user as the repository has been created. When I restated my SVN I got the same error. Then realized that I have not start my SVN with the root user.