svn:修订文件缺少尾随换行符

发布于 2024-12-02 22:10:51 字数 843 浏览 3 评论 0原文

我想在颠覆控制下的文件中提交更改:

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半葬歌 2024-12-09 22:10:51

这是一条存储库消息。您使用的是哪个版本的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文