svn:修订文件缺少尾随换行符
我想在颠覆控制下的文件中提交更改:
svn ci some-file -m "some-comment"
但我
svn: Commit failed (details follow):
svn: Revision file lacks trailing newline
从互联网上的快速搜索中收到一条消息,我无法找到在这种情况下如何进行的权威答案。所以,如果这里有人知识渊博,我将非常感激。
编辑/更新:版本是:
c:\>svn --version
svn, version 1.6.5 (r38866)
compiled Sep 1 2009, 13:23:06
并且
c:\>svnadmin, version 1.6.5 (r38866)
compiled Sep 1 2009, 13:23:06
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository back-end (FS) modules are available:
* fs_fs : Module for working with a plain file (FSFS) repository.
I wanted to commit a change in a file that is under subversion control:
svn ci some-file -m "some-comment"
but I receive a
svn: Commit failed (details follow):
svn: Revision file lacks trailing newline
from a quick search on the internet, I was unable to find an authorative answer how to proceed in such a case. So, if somebody here is knowledgable, I'd be very grateful.
Edit/Update: The version is:
c:\>svn --version
svn, version 1.6.5 (r38866)
compiled Sep 1 2009, 13:23:06
and
c:\>svnadmin, version 1.6.5 (r38866)
compiled Sep 1 2009, 13:23:06
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository back-end (FS) modules are available:
* fs_fs : Module for working with a plain file (FSFS) repository.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一条存储库消息。您使用的是哪个版本的 Subversion。这是一个非常古老的错误,很久以前就已修复。
我花了一段时间,但我发现了 修复。
这是存储库本身的问题,而不是客户端的问题。
This is a repository message. What version of Subversion are you using. This is a very old error that has been fixed long ago.
It took me a while, but I found the fix.
This is a problem in the repository itself and not the client.