{"id":159997,"date":"2019-10-11T12:30:00","date_gmt":"2019-10-11T04:30:00","guid":{"rendered":"https:\/\/gulass.cn\/?p=159997"},"modified":"2019-09-27T14:31:10","modified_gmt":"2019-09-27T06:31:10","slug":"fun-svn-checkout","status":"publish","type":"post","link":"https:\/\/gulass.cn\/fun-svn-checkout.html","title":{"rendered":"\u73a9\u8f6cSVN-\u68c0\u51fa\u64cd\u4f5c"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nApache Subversion \u901a\u5e38\u88ab\u7f29\u5199\u6210 SVN\uff0c\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0cSubversion \u5728 2000 \u5e74\u7531 CollabNet Inc \u5f00\u53d1\uff0c\u73b0\u5728\u53d1\u5c55\u6210\u4e3a Apache \u8f6f\u4ef6\u57fa\u91d1\u4f1a\u7684\u4e00\u4e2a\u9879\u76ee\uff0c\u540c\u6837\u662f\u4e00\u4e2a\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\u548c\u7528\u6237\u793e\u533a\u7684\u4e00\u90e8\u5206\u3002
\nSVN\u76f8\u5bf9\u4e8e\u7684RCS\u3001CVS\uff0c\u91c7\u7528\u4e86\u5206\u652f\u7ba1\u7406\u7cfb\u7edf\uff0c\u5b83\u7684\u8bbe\u8ba1\u76ee\u6807\u5c31\u662f\u53d6\u4ee3CVS\u3002\u4e92\u8054\u7f51\u4e0a\u514d\u8d39\u7684\u7248\u672c\u63a7\u5236\u670d\u52a1\u591a\u57fa\u4e8eSubversion\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u300a\u73a9\u8f6cSVN-\u5e38\u89c1\u7248\u672c\u5e93\u300b\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u7248\u672c\u5e93runoob01,URL\u4e3asvn:\/\/192.168.0.1\/runoob01,svn\u7528\u6237user01\u6709\u8bfb\u5199\u6743\u9650\u3002<\/p>\n

\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2aURL\u5728\u5ba2\u6237\u7aef\u5bf9\u7248\u672c\u5e93\u8fdb\u884c\u68c0\u51fa\u64cd\u4f5c\u3002<\/p>\n

svn checkout http:\/\/svn.server.com\/svn\/project_repo --username=user01 \u4ee5\u4e0a\u547d\u4ee4\u5c06\u4ea7\u751f\u5982\u4e0b\u7ed3\u679c\uff1a<\/p>\n

root@runoob:~\/svn# svn checkout svn:\/\/192.168.0.1\/runoob01 --username=user01\r\nA    runoob01\/trunk\r\nA    runoob01\/branches\r\nA    runoob01\/tags\r\nChecked out revision 1.<\/pre>\n

\u68c0\u51fa\u6210\u529f\u540e\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u751f\u6210runoob01\u526f\u672c\u76ee\u5f55\u3002\u67e5\u770b\u68c0\u51fa\u7684\u5185\u5bb9<\/p>\n

root@runoob:~\/svn# ll runoob01\/\r\ntotal 24\r\ndrwxr-xr-x 6 root root 4096 Jul 21 19:19 .\/\r\ndrwxr-xr-x 3 root root 4096 Jul 21 19:10 ..\/\r\ndrwxr-xr-x 2 root root 4096 Jul 21 19:19 branches\/\r\ndrwxr-xr-x 4 root root 4096 Jul 21 19:19 .svn\/\r\ndrwxr-xr-x 2 root root 4096 Jul 21 19:19 tags\/\r\ndrwxr-xr-x 2 root root 4096 Jul 21 19:19 trunk\/<\/pre>\n

\u4f60\u60f3\u67e5\u770b\u66f4\u591a\u5173\u4e8e\u7248\u672c\u5e93\u7684\u4fe1\u606f\uff0c\u6267\u884c info \u547d\u4ee4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u300a\u73a9\u8f6cSVN-\u5e38\u89c1\u7248\u672c\u5e93\u300b\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u7248\u672c\u5e93runoob01,URL\u4e3asvn:\/\/192.168.0.1 […]<\/p>\n","protected":false},"author":321,"featured_media":159975,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-159997","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/159997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/321"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=159997"}],"version-history":[{"count":1,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/159997\/revisions"}],"predecessor-version":[{"id":160000,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/159997\/revisions\/160000"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/159975"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=159997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=159997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=159997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}