---
title: "svn 两个库同步"
author: "yangbinfc"
date: "2011-04-22T16:23:00Z"
tags: []
slug: "svn"
draft: false
lastmod: "2012-11-04T17:47:28Z"
id: 1715334
url: "https://yangbinfc.iteye.com/blog/1715334"
---

svnsync init 目标 源文件  
svnsync init http://ftp/svn/test1 http://ftp/svn/test2

在目标中hooks目录下 ：建立pre-revprop-change.bat  
内容 exit 0;  
在源文件目录中hooks下：建立post-commit.bat内容：  
svnsync sync --non-interactive http://hotor-PC/svn/test3 --sync-username biny --sync-password 123456