svn post-commit 同步

@echo on
SET REPOS=%1
SET USER=%2
SET SVN="D:\Program Files\VisualSVN Server\bin\svn.exe"
SET DIR="D:\wwwroot\static"
(call %SVN% update %DIR% --username fabu1 --password fabu12016 --non-interactive --trust-server-cert)

遇见问题

post-commit hook failed (exit code 1) with output:
svn: E170013: Unable to connect to a repository at URL ‘https://139.196.109.0/svn/qianduan/net‘
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted

问题在于服务器被从域中移了出来,visual svn server的certificate issuer还是和域的域名相关联,更改为本机IP就可以了。

时间: 2024-08-18 23:15:55

svn post-commit 同步的相关文章

[记录]CentOS搭建SVN服务器(主从同步)

CentOS搭建SVN服务器(主从同步)1.安装步骤如下: 1)安装: #yum install subversion 2)查看安装位置: #rpm -ql subversion 3)查看版本: #/usr/bin/svnversion --version2.创建svn版本库目录 #mkdir -p /var/svn/svnrepos3.创建版本库 #svnadmin create /var/svn/svnrepos4.进入/var/svn/svnrepos/conf目录 1)authz文件是权

怎么解决svn error "svn: Aborting commit: xxx remains in conflict"?

遇到问题 $ sudo svn commit -m ''svn: E155015: Commit failed (details follow):svn: E155015: Aborting commit: '/Users/mac/data/lz/core/lz.php' remains in conflict 解决方法1: $ sudo svn resolved /Users/mac/data/lz/core/lz.phpResolved conflicted state of 'core/l

eclipse svn Aborting commit: 'XXXXXXXX'remains in conflict

svn提交新代码的时候,一直报错“Aborting commit: 'XXXXXXXX'remains in conflict” 于是开始搜寻解决办法,网络上大多是单独使用svn时的解决办法,其中前因后果讲的比较详细的是这篇: http://blog.sina.com.cn/s/blog_5d2673da0100i78k.html 讲的太复杂不太适合实战.读完之后仍然不知怎样解决,于是用很笨的方法,手动删除了临时文件再提交,虽然提交成功但是这个方法太暴力不可取. 之后又找到此文,觉得很实用,特此

svn: Aborting commit: ‘‘.settings‘ remains in tree

svn: Aborting commit: 'E:\MyEclipse2013\WorkspacesStarnet\BillSystem\.settings' remains in tree-conflict错误的解决方法 在工程上进行提交(Commit)操作时,报以下错误: svn: Aborting commit: 'E:\MyEclipse2013\WorkspacesStarnet\BillSystem\.settings' remains in tree-conflict 原因分析:

Subversion代码提交中的org.apache.subversion.javahl.ClientException: svn: E200007: Commit failed异常解决

引言: 在切换subversion服务器地址之后,发生的无法正确提交代码的问题org.apache.subversion.javahl.ClientException: svn: E200007: Commit failed (details follow), 该如何解决呢? 1.  背景介绍 由于项目需要,在机器上切换了subversion的服务器地址,但是在新的subversion的服务器地址上进行代码提交之时,出现了无法提交的错误. 2.  错误信息的分析 具体的错误信息: org.apa

svn利用svnsync同步时出现问题解决

公司SVN的备份用的是SVNSYNC实时同步备份,今天开发在提交代码的时候发现报错,但是能提交成功,错误信息如下: 登陆svn服务器,手动执行同步,发现在服务器报如下错误: "Failed to get lock on destination repos, currently held by 'XXXXXXX:b3c1ff73-e835-420a-a9d2-9321c86fe40f' 这是因为备份机上svnrsync被锁了,同步不过去了. 解决办法:在备份机上执行 svn propdel svn

svn提交失败 :“svn: E200007: Commit failed”

引言: 在切换subversion服务器地址之后,发生的无法正确提交代码的问题org.apache.subversion.javahl.ClientException: svn: E200007: Commit failed (details follow), 该如何解决呢? 1.  背景介绍 由于项目需要,在机器上切换了subversion的服务器地址,但是在新的subversion的服务器地址上进行代码提交之时,出现了无法提交的错误. 2.  错误信息的分析 具体的错误信息: org.apa

svn钩子自动化同步代码提交任务

##############################################################第一种方式:svn服务端  也是rsync的客户端web        是rsync的服务端svn服务端执行:[[email protected] ~]#sh yum-svn02.sh[[email protected] ~]#mkdir /var/www/bbs -p[[email protected] ~]#svn checkout http://192.168.13.

svn 安装和同步网站目录

yum -y install subversion 建立版本库目录 mkdir /opt/svn/repo 修改配置文件(3个文件authz passwd svnserve.conf) cd /opt/svn/repo/conf vi svnserve.conf [general] 下面的内容 *每一行开头不能有空格 anon-access = none (去掉分号,把原值该为none) anon-access = write(去掉分号) password-db = passwd (去掉分号)

王立平--org.apache.subversion.javahl.ClientException: svn: E155011: Commit failed (details follow): svn

往svn服务器提交代码时候, 遇到错误:org.apache.subversion.javahl.ClientException: svn: E155011: Commit failed (details follow): svn: E155011: Directory 'D:\Android2\Picture\bin\dexedLibs' is out of date org.apache.subversion.javahl.ClientException: svn: E155011: Com