{"id":37237,"date":"2025-05-15T05:26:06","date_gmt":"2025-05-14T21:26:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37237.html"},"modified":"2025-05-15T05:26:06","modified_gmt":"2025-05-14T21:26:06","slug":"svn%e6%89%93%e5%8c%85%e8%bf%81%e7%a7%bb%e6%96%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e5%8d%87%e7%ba%a7","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37237.html","title":{"rendered":"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7"},"content":{"rendered":"<p>\u8fc1\u79fb\u539f\u56e0&#xff1a;10.54 \u670d\u52a1\u5668centos\u8981\u6c42\u5207\u6362\u4e3auos\u7cfb\u7edf \u8fc1\u79fb\u5347\u7ea7\u601d\u8def&#xff1a;\u65b0\u670d\u52a1\u76f4\u63a5\u5b89\u88c5\u6700\u65b0\u7248\u672c&#xff0c;\u9700\u8981\u5b89\u88c5\u7684\u73af\u5883httpd \u3001svn dump\u8fc1\u79fb\u65e7\u670d\u52a1\u5668\u8bb0\u5f55\u5230\u65b0\u670d\u52a1\u5668\u3002<\/p>\n<p>xx.xx.10.54 \u65e7\u670d\u52a1\u5668\u7248\u672c\u53f7 svn1.8 xx.xx.1.116 \u65b0\u670d\u52a1\u5668\u7248\u672c\u53f7 svn 1.14<\/p>\n<h2>\u4e00\u3001\u65b0\u670d\u52a1\u5668\u5f00\u59cb\u5b89\u88c5svn 1.14<\/h2>\n<h3>1 \u89e3\u538b\u5b89\u88c5\u5305<\/h3>\n<p><span class=\"token comment\">#cd \/usr\/local\/svn<\/span><br \/>\n<span class=\"token comment\">#tar -xzvf subversion-1.14.5.tar.gz <\/span><br \/>\n<span class=\"token comment\">#cd \/usr\/local<\/span><\/p>\n<h3>2 \u5b89\u88c5apr ,svn\u9700\u8981\u5b89\u88c5<\/h3>\n<p><span class=\"token comment\">#sudo yum install apr apr-devel apr-util apr-util-devel<\/span><\/p>\n<p>\u67e5\u770b\u662f\u5426\u5b89\u88c5\u6210\u529f&#xff0c;\u51fa\u73b0\u4e0b\u56fe\u60c5\u51b5\u5219\u5b89\u88c5\u6210\u529f<\/p>\n<p>yum list installed | grep apr <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6d403ba.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>3 \u5b89\u88c5lz4 svn\u63d0\u793a\u9700\u8981\u5b89\u88c5\u8fd9\u4e2a<\/h3>\n<p><span class=\"token comment\">#yum install lz4 lz4-devel<\/span><\/p>\n<h3>4 \u5f00\u59cb\u5b89\u88c5svn<\/h3>\n<p><span class=\"token comment\">#cd \/usr\/local\/svn\/subversion-1.14.5<\/span><br \/>\n<span class=\"token comment\">#.\/configure &#8211;with-utf8proc&#061;internal<\/span><br \/>\n<span class=\"token comment\">#make<\/span><br \/>\n<span class=\"token comment\">#make install<\/span><\/p>\n<h3>5 \u5b89\u88c5httpd \u65b9\u4fbf\u6d4f\u89c8\u5668\u8bbf\u95eesvn<\/h3>\n<p>\u65e7\u670d\u52a1\u5668\u662fapache \u8fd9\u91cc\u76f4\u63a5yum\u5b89\u88c5<\/p>\n<p><span class=\"token comment\">#yum -y install httpd<\/span><br \/>\n<span class=\"token comment\">#yum -y install mod_dav_svn<\/span><\/p>\n<h3>6 \u521b\u5efa\u6216\u7f16\u8f91subversion.conf<\/h3>\n<p><span class=\"token comment\">#vim \/etc\/httpd\/conf.d\/subversion.conf<\/span><\/p>\n<p>\u8fd9\u91ccSVNParentPath SVNParentPath \u9879\u76ee\u5730\u5740 AuthUserFile \u7528\u6237\u5bc6\u7801 AuthzSVNAccessFile \u7528\u6237\u6743\u9650 passwd.conf \u548cauthz.conf \u4ece\u65e7\u670d\u52a1\u5668\u76f4\u63a5scp\u590d\u5236\u8fc7\u6765<\/p>\n<p><span class=\"token operator\">&lt;<\/span>Location \/svn<span class=\"token operator\">&gt;<\/span><br \/>\nDAV svn<br \/>\n<span class=\"token comment\">#SVNListParentPath on  <\/span><br \/>\nSVNParentPath \/data\/app\/svnusr\/svndata<\/p>\n<p><span class=\"token comment\"># SSLRequireSSL<\/span><br \/>\nAuthType Basic<br \/>\nAuthName <span class=\"token string\">&#034;Subversion repository&#034;<\/span><br \/>\nAuthUserFile \/etc\/subversion\/passwd.conf<br \/>\nAuthzSVNAccessFile \/etc\/subversion\/authz.conf<br \/>\nRequire valid-user<br \/>\n<span class=\"token operator\">&lt;<\/span>\/Location<span class=\"token operator\">&gt;<\/span><\/p>\n<h3>7 \u4f20\u8f93\u914d\u7f6e\u6587\u4ef6\u542f\u52a8svn\u548chttpd<\/h3>\n<p>10.54 \u54111.116 \u4f20\u8f93\u914d\u7f6e\u6587\u4ef6 scp\u547d\u4ee4\u81ea\u5df1\u67e5\u4e00\u4e0b<\/p>\n<p><span class=\"token comment\">#scp -r -P 22 \/etc\/subversion\/* root&#064;172.20.1.116:\/etc\/subversion\/<\/span><\/p>\n<p><span class=\"token comment\">#chmod 777 authz.conf<\/span><br \/>\n<span class=\"token comment\">#chmod 777 passwd.conf<\/span><\/p>\n<p>svn \u542f\u52a8\u547d\u4ee4<\/p>\n<p>svnserve <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">-r<\/span> \/usr\/local\/svn\/subversion-1.14.5<\/p>\n<p>\u67e5\u770bsvn \u662f\u5426\u542f\u52a8\u6210\u529f #ps -ef | grep svnserve <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6d5f196.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>8 \u914d\u7f6e\u542f\u52a8\u547d\u4ee4\u548c\u5f00\u673a\u81ea\u542f\u52a8<\/h3>\n<p><span class=\"token punctuation\">[<\/span>Unit<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">Description<\/span><span class=\"token operator\">&#061;<\/span>Subversion protocol daemon<br \/>\n<span class=\"token assign-left variable\">After<\/span><span class=\"token operator\">&#061;<\/span>network.target<\/p>\n<p><span class=\"token punctuation\">[<\/span>Service<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">Type<\/span><span class=\"token operator\">&#061;<\/span>forking<br \/>\n<span class=\"token assign-left variable\">ExecStart<\/span><span class=\"token operator\">&#061;<\/span>\/usr\/local\/bin\/svnserve <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">-r<\/span> \/usr\/local\/svn\/subversion-1.14.5<br \/>\n<span class=\"token assign-left variable\">Restart<\/span><span class=\"token operator\">&#061;<\/span>on-failure<br \/>\n<span class=\"token assign-left variable\">ExecStop<\/span><span class=\"token operator\">&#061;<\/span>\/usr\/bin\/pkill <span class=\"token parameter variable\">-f<\/span> \/usr\/local\/bin\/svnserve<\/p>\n<p><span class=\"token punctuation\">[<\/span>Install<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">WantedBy<\/span><span class=\"token operator\">&#061;<\/span>multi-user.target<br \/>\nEOF<\/p>\n<h2>\u91cd\u65b0\u52a0\u8f7d systemd \u914d\u7f6e sudo systemctl daemon-reload<\/h2>\n<h2>\u542f\u52a8 SVN \u670d\u52a1 sudo systemctl start svnserve<\/h2>\n<h2>\u505c\u6b62 SVN \u670d\u52a1 sudo systemctl stop svnserve<\/h2>\n<h2>\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f sudo systemctl enable svnserve<\/h2>\n<h3>9 \u4fee\u6539httpd\u9ed8\u8ba4\u7aef\u53e3\u53f780 -8001<\/h3>\n<p><span class=\"token comment\"># vim \/etc\/httpd\/conf\/httpd.conf<\/span><\/p>\n<p>Httpd #systemctl start httpd #systemctl restart httpd #systemctl status httpd #systemctl enable httpd \u6d4b\u8bd5&#xff1a;<\/p>\n<p><span class=\"token comment\">#svnadmin create repos<\/span><br \/>\n<span class=\"token comment\">#chmod -R o&#043;rw \/data\/app\/svnusr\/svndata\/repos<\/span><\/p>\n<p>http:\/\/xx.xx.1.116:8001\/svn\/repos \u63d0\u793a\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801&#xff0c;\u6210\u529f <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6d68e43.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6d8468e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e8c\u3001 \u5f00\u59cb\u5907\u4efd\u8f6c\u50a8\u65e7\u670d\u52a1\u5668svndata<\/h2>\n<p><span class=\"token comment\">#cd \/home\/svnusr\/temp<\/span><\/p>\n<p>1 \u9879\u76ee\u591a&#xff0c;\u4e00\u4e2a\u4e00\u4e2adump\u592a\u6162&#xff0c;\u8fd9\u91cc\u4f7f\u7528\u6279\u91cf\u811a\u672c 10.64 \u670d\u52a1\u5668\u521b\u5efa\u4e00\u4e2a\u6279\u91cfdump\u811a\u672c\u3002\u9879\u76ee\u5c11\u7684\u53ef\u6328\u4e2a\u6267\u884csvnadmin dump \u547d\u4ee4<\/p>\n<p><span class=\"token comment\">#vi svn_dum_parent_dir.sh <\/span><\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token comment\"># \u5b9a\u4e49\u7236\u76ee\u5f55\u8def\u5f84<\/span><br \/>\n<span class=\"token assign-left variable\">parent_dir<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\/home\/svnusr\/svndata&#034;<\/span><br \/>\n<span class=\"token comment\"># \u67e5\u627e\u7236\u76ee\u5f55\u4e0b\u7684\u6240\u6709 SVN \u9879\u76ee<\/span><br \/>\n<span class=\"token keyword\">for<\/span> <span class=\"token for-or-select variable\">project<\/span> <span class=\"token keyword\">in<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$parent_dir<\/span>&#034;<\/span>\/*<span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">do<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token parameter variable\">-d<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$project<\/span>&#034;<\/span> <span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token parameter variable\">-f<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$project<\/span>\/format&#034;<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">then<\/span><br \/>\n        <span class=\"token comment\"># \u63d0\u53d6\u9879\u76ee\u540d\u79f0<\/span><br \/>\n        <span class=\"token assign-left variable\">project_name<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">basename<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$project<\/span>&#034;<\/span><span class=\"token variable\">)<\/span><\/span><br \/>\n        <span class=\"token comment\"># \u6267\u884c\u8f6c\u50a8\u547d\u4ee4<\/span><br \/>\n        svnadmin dump <span class=\"token parameter variable\">&#8211;deltas<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$project<\/span>&#034;<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$project_name<\/span>.dump&#034;<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token variable\">$?<\/span> <span class=\"token parameter variable\">-eq<\/span> <span class=\"token number\">0<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">then<\/span><br \/>\n            <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u8f6c\u50a8 <span class=\"token variable\">$project<\/span> \u6210\u529f&#xff0c;\u6587\u4ef6\u4fdd\u5b58\u4e3a <span class=\"token variable\">$project_name<\/span>.dump&#034;<\/span><br \/>\n        <span class=\"token keyword\">else<\/span><br \/>\n            <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u8f6c\u50a8 <span class=\"token variable\">$project<\/span> \u5931\u8d25&#034;<\/span><br \/>\n        <span class=\"token keyword\">fi<\/span><br \/>\n    <span class=\"token keyword\">fi<\/span><br \/>\n<span class=\"token keyword\">done<\/span><\/p>\n<p><span class=\"token comment\">#chmod 777 svn_dum_parent_dir.sh<\/span><\/p>\n<p>\u6267\u884c\u811a\u672c&#xff0c;\u7b49\u5f85\u6240\u6709\u9879\u76ee\u8f6c\u50a8\u6210\u529f<\/p>\n<p><span class=\"token comment\">#.\/svn_dum_parent_dir.sh<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6d94a2e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>2 \u6279\u91cf\u8fd8\u539f\u811a\u672c<\/h3>\n<p>\u65b0\u670d\u52a1\u56681.116<\/p>\n<p><span class=\"token comment\">#mkdir \/data\/app\/svnusr\/svndata<\/span><br \/>\n<span class=\"token comment\">#mkdir \/data\/app\/svnusr\/temp<\/span><br \/>\n<span class=\"token comment\">#cd \/data\/app\/svnusr\/temp<\/span><\/p>\n<p>1.116 \u670d\u52a1\u5668\u8fd8\u539fdump \u5230 \/data\/app\/svnusr\/svndata<\/p>\n<p><span class=\"token comment\">#vi svn_load_multiple.sh<\/span><\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\u8f6c\u50a8\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55<\/span><br \/>\n<span class=\"token assign-left variable\">dump_dir<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\/data\/app\/svnusr\/temp&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\u65b0\u670d\u52a1\u5668\u4e0a SVN \u4ed3\u5e93\u7684\u7236\u76ee\u5f55<\/span><br \/>\n<span class=\"token assign-left variable\">new_repos_parent_dir<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\/data\/app\/svnusr\/svndata&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u904d\u5386\u8f6c\u50a8\u6587\u4ef6\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u8f6c\u50a8\u6587\u4ef6<\/span><br \/>\n<span class=\"token keyword\">for<\/span> <span class=\"token for-or-select variable\">dump_file<\/span> <span class=\"token keyword\">in<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$dump_dir<\/span>&#034;<\/span>\/*.dump<span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">do<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token parameter variable\">-f<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$dump_file<\/span>&#034;<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">then<\/span><br \/>\n        <span class=\"token comment\"># \u63d0\u53d6\u9879\u76ee\u540d\u79f0&#xff08;\u53bb\u9664\u6587\u4ef6\u6269\u5c55\u540d&#xff09;<\/span><br \/>\n        <span class=\"token assign-left variable\">project_name<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">basename<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$dump_file<\/span>&#034;<\/span> .dump<span class=\"token variable\">)<\/span><\/span><\/p>\n<p>        <span class=\"token comment\"># \u521b\u5efa\u65b0\u7684 SVN \u4ed3\u5e93<\/span><br \/>\n        <span class=\"token assign-left variable\">new_repo_path<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;<span class=\"token variable\">$new_repos_parent_dir<\/span>\/<span class=\"token variable\">$project_name<\/span>&#034;<\/span><br \/>\n        svnadmin create <span class=\"token string\">&#034;<span class=\"token variable\">$new_repo_path<\/span>&#034;<\/span><\/p>\n<p>        <span class=\"token comment\"># \u68c0\u67e5\u4ed3\u5e93\u521b\u5efa\u662f\u5426\u6210\u529f<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token variable\">$?<\/span> <span class=\"token parameter variable\">-eq<\/span> <span class=\"token number\">0<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">then<\/span><br \/>\n            <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u6210\u529f\u521b\u5efa\u4ed3\u5e93: <span class=\"token variable\">$new_repo_path<\/span>&#034;<\/span><\/p>\n<p>            <span class=\"token comment\"># \u5bfc\u5165\u8f6c\u50a8\u6587\u4ef6\u5230\u65b0\u4ed3\u5e93<\/span><br \/>\n            svnadmin load <span class=\"token string\">&#034;<span class=\"token variable\">$new_repo_path<\/span>&#034;<\/span> <span class=\"token operator\">&lt;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$dump_file<\/span>&#034;<\/span><\/p>\n<p>            <span class=\"token comment\"># \u68c0\u67e5\u5bfc\u5165\u662f\u5426\u6210\u529f<\/span><br \/>\n            <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token variable\">$?<\/span> <span class=\"token parameter variable\">-eq<\/span> <span class=\"token number\">0<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">then<\/span><br \/>\n                <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u6210\u529f\u5bfc\u5165\u9879\u76ee <span class=\"token variable\">$project_name<\/span> \u5230 <span class=\"token variable\">$new_repo_path<\/span>&#034;<\/span><br \/>\n            <span class=\"token keyword\">else<\/span><br \/>\n                <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u5bfc\u5165\u9879\u76ee <span class=\"token variable\">$project_name<\/span> \u5230 <span class=\"token variable\">$new_repo_path<\/span> \u5931\u8d25&#034;<\/span><br \/>\n            <span class=\"token keyword\">fi<\/span><br \/>\n        <span class=\"token keyword\">else<\/span><br \/>\n            <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u521b\u5efa\u4ed3\u5e93 <span class=\"token variable\">$new_repo_path<\/span> \u5931\u8d25&#034;<\/span><br \/>\n        <span class=\"token keyword\">fi<\/span><br \/>\n    <span class=\"token keyword\">fi<\/span><br \/>\nDone<\/p>\n<p><span class=\"token comment\">#chmod 777 svn_load_multiple.sh<\/span><\/p>\n<p>\u6267\u884c\u811a\u672c&#xff0c;\u5bfc\u5165\u5907\u4efd<\/p>\n<p><span class=\"token comment\">#.\/svn_load_multiple.sh<\/span><\/p>\n<p>\u6b63\u5728\u5bfc\u5165\u3001\u8010\u5fc3\u7b49\u5f85<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6da4ddf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb981\u6b21\uff0c\u70b9\u8d5e12\u6b21\uff0c\u6536\u85cf13\u6b21\u3002svn\u6574\u4f53\u6253\u5305\u8fc1\u79fb\u5e76\u5347\u7ea7_svn\u670d\u52a1\u5668\u8fc1\u79fb<\/p>\n","protected":false},"author":2,"featured_media":37231,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[394,43,44],"topic":[],"class_list":["post-37237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-svn","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/37237.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb981\u6b21\uff0c\u70b9\u8d5e12\u6b21\uff0c\u6536\u85cf13\u6b21\u3002svn\u6574\u4f53\u6253\u5305\u8fc1\u79fb\u5e76\u5347\u7ea7_svn\u670d\u52a1\u5668\u8fc1\u79fb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37237.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-14T21:26:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6d403ba.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37237.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37237.html\",\"name\":\"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-14T21:26:06+00:00\",\"dateModified\":\"2025-05-14T21:26:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37237.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37237.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37237.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/37237.html","og_locale":"zh_CN","og_type":"article","og_title":"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb981\u6b21\uff0c\u70b9\u8d5e12\u6b21\uff0c\u6536\u85cf13\u6b21\u3002svn\u6574\u4f53\u6253\u5305\u8fc1\u79fb\u5e76\u5347\u7ea7_svn\u670d\u52a1\u5668\u8fc1\u79fb","og_url":"https:\/\/www.wsisp.com\/helps\/37237.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-14T21:26:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250514212605-68250a6d403ba.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/37237.html","url":"https:\/\/www.wsisp.com\/helps\/37237.html","name":"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-14T21:26:06+00:00","dateModified":"2025-05-14T21:26:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37237.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37237.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37237.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"SVN\u6253\u5305\u8fc1\u79fb\u65b0\u670d\u52a1\u5668\u5e76\u5347\u7ea7"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=37237"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37237\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/37231"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37237"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}