可能的原因:

提交代码的SVN命令中,Comment长度短了。参考:http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-minlogmsgsize.html

解决方法:

在提交的命令行的Comment中多加些字符,再提交。比如,将:

svn commit -m "XXX"

改成

svn commit -m "Add some code for Case 1"

然后再提交。就成功了。

可能原因:

排查既不是权限问题,也不是备注信息没超过16个字符。

关键是这个信息“ //opt/csvn/bin/svnlook: No such file or directory”

解决方法:

1、进入服务器当前版本仓库下的hooks目录(一般是SVN安装目录/data/repositories/库名称/hooks)。

2、编辑文件pre-commit.tmpl,将“SVNLOOK=//opt/CollabNet_Subversion/bin/svnlook”改为svnlook所在的正确的路径。

3、编辑文件pre-commit,将“SVNLOOK=//opt/CollabNet_Subversion/bin/svnlook”改为svnlook所在的正确的路径。

可能原因:

被锁

解决方法:

尝试Clean Up,再Update,然后在Commit。

可能原因:

开始时提交的注释为: commit -m "更改otherInfos类型为Map<String, String>"

提交时报错:svn: Commit blocked by pre-commit hook (exit code 255) with output:

SVN并无其他错误,分析可能是由于注释中包含了一些非法字符

解决方法:

把Map<String, String>去掉,注释改为 commit -m "更改UserActionLog属性otherInfos的类型",既可。

参考:

http://blog.csdn.net/yasi_xi/article/details/39450689(以上内容转自此篇文章)

http://blog.sina.com.cn/s/blog_537e69fb0101bzyr.html(以上内容转自此篇文章)

http://blog.csdn.net/zhouxingxingzxy/article/details/52607015(以上内容转自此篇文章)

SVN提交时报错:Commit blocked by pre-commit hook (exit code 1) with no output.的更多相关文章

  1. xcode 运行报错 Command /usr/bin/codesign failed with exit code 1

           因为更换了证书,导致在运行时报错 Command /usr/bin/codesign failed with exit code 1,查看了网上各种方法,最后发现以下两个值没有同步更新

  2. SVN同步时报错:“Previous operation has not finished; run 'cleanup' if it was interrupted”

    SVN同步时报错:“Previous operation has not finished; run 'cleanup' if it was interrupted” 这大概是SVN之前的操作没有完成 ...

  3. git提交时报错处理办法

    git提交时报错:Updates were rejected because the tip of your current branch is behind: 有如下几种解决方法: 1.使用强制pu ...

  4. svn提交报错Previous operation has not finished; run 'cleanup' if it was interrupted

    从SVN上拉下来Document文档(word和excel),在本地修改后,准备通过TortoiseSVN提交,发现报错. Error: Previous operation has not fini ...

  5. Eclipse下进行SVN提交时报“svn: 过期”错误的解决办法

    http://www.thinksaas.cn/group/topic/105323/ ———————————————————————————————————————————————————————— ...

  6. git提交时报错 permission denied

    git push 时报错:permission denied xxx 目前很多解决办法是生成公钥和秘钥,这种方法安全可靠,比较适用于一台电脑对应一个git账户,但是多个账户在同一台电脑上提交使用git ...

  7. svn提交报错,提示:locked,需要cleanup

    版权声明:本文为博主原创文章,未经博主允许不得转载. 原文地址: https://www.cnblogs.com/poterliu/p/9285137.html 在使用SVN提交代码或更新代码时经常会 ...

  8. svn 提交报错post-commit hook failed (exit code 23) with output

    svn 提交文件,hook同步更新报权限错误 排查后可能原因是被同步的服务器 selinux 已开启. 查看状态命令:/usr/sbin/sestatus -v  #如果SELinux status参 ...

  9. svn提交报错:svn: Aborting commit:XXXXXremains in conflict

    Svn服务器上的对应内容,在上次Update后已被别人修改了,而我也做了修改,造成冲突.先备份自己的修改,从SVN上取一份别人的修改覆盖自己的文件,然后合并自己的修改进去,最后Commit.可以先更新 ...

随机推荐

  1. Codefoces 828C

    C. String Reconstruction time limit per test 2 seconds memory limit per test 256 megabytes input sta ...

  2. EditText(1)EditText的类型和回车键的行为

    1,常见类型 <EditText android:id="@+id/email_address" android:layout_width="fill_parent ...

  3. C# 生成 bmp 格式的图片

    using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; usin ...

  4. SQL在一张表中根据父ID获取所有的子ID

    with a as ( select id,name,parentid from categories where id=53 union all select x.id,x.name,x.paren ...

  5. opencv3+python+pycharm报错问题(cmd命令正常)

    2018-03-0223:58:59 首先在你已成功安装python的情况下运行cmd命令,下载安装opencv插件 如果在命令行可以使用 import cv2 但是在IDE上面只输入import c ...

  6. MSSQLSERVER_3176

    本文档已存档,并且将不进行维护. MSSQLSERVER_3176                 SQL Server 2014                    SQL Server 2012 ...

  7. Angular——依赖注入

    基本介绍 1.AngularJS采用模块化的方式组织代码,将一些通用逻辑封装成一个对象或函数,实现最大程度的复用,这导致了使用者和被使用者之间存在依赖关系. 2.所谓依赖注入是指在运行时自动查找依赖关 ...

  8. JsTree中节点添加CheckBox 以及 单选的实现

    stree中添加checkbox,需要在初始化时设置plugins属性: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 $('#DpTree').data('jstree', fa ...

  9. 微信浏览器播放音频的问题:preload属性

    测试工具:ios微信. h5的Audio对象有个很重要的属性:preload;preload 属性规定是否在页面加载后载入音频.有4个值:auto - 当页面加载后载入整个音频meta - 当页面加载 ...

  10. CAD得到指定条件的实体

    主要用到函数说明: IMxDrawSelectionSet::Select2 构造选择集.详细说明如下: 参数 说明 [in] MCAD_McSelect Mode 构造选择集方式 [in] VARI ...