天天看點

将svn上檔案同步到本地

[root@bogon hooks]# svnserve -d -r /application/svndata/

[root@bogon hooks]# svn co svn://192.168.1.103/sadoc /data/www --username=ygl --password=123456

[root@bogon ~]# cd /application/svndata/sadoc/hooks/   鈎子目錄

[root@bogon hooks]# ll

總用量 36

-rw-r--r--. 1 root root 1977 4月  16 22:46 post-commit.tmpl

-rw-r--r--. 1 root root 1638 4月  16 22:46 post-lock.tmpl

-rw-r--r--. 1 root root 2289 4月  16 22:46 post-revprop-change.tmpl

-rw-r--r--. 1 root root 1567 4月  16 22:46 post-unlock.tmpl

-rw-r--r--. 1 root root 3426 4月  16 22:46 pre-commit.tmpl

-rw-r--r--. 1 root root 2410 4月  16 22:46 pre-lock.tmpl

-rw-r--r--. 1 root root 2786 4月  16 22:46 pre-revprop-change.tmpl

-rw-r--r--. 1 root root 2100 4月  16 22:46 pre-unlock.tmpl

-rw-r--r--. 1 root root 2780 4月  16 22:46 start-commit.tmpl

以上為鈎子模闆

繼續閱讀