{"id":736,"date":"2024-09-04T15:55:05","date_gmt":"2024-09-04T07:55:05","guid":{"rendered":"https:\/\/thereisno.top:4430\/?p=736"},"modified":"2024-10-22T15:47:28","modified_gmt":"2024-10-22T07:47:28","slug":"svn-trunk%e4%b8%bb%e7%ba%bf-branch%e5%88%86%e6%94%af-tag%e6%a0%87%e8%ae%b0-%e7%94%a8%e6%b3%95%e8%af%a6%e8%a7%a3%e5%92%8c%e8%af%a6%e7%bb%86%e6%93%8d%e4%bd%9c%e6%ad%a5%e9%aa%a4","status":"publish","type":"post","link":"https:\/\/thereisno.top\/?p=736","title":{"rendered":"SVN trunk(\u4e3b\u7ebf) branch(\u5206\u652f) tag(\u6807\u8bb0) \u7528\u6cd5\u8be6\u89e3\u548c\u8be6\u7ec6\u64cd\u4f5c\u6b65\u9aa4"},"content":{"rendered":"\n<p><strong>\u4f7f\u7528\u573a\u666f\uff1a<\/strong><\/p>\n\n\n\n<p>\u5047\u5982\u4f60\u7684\u9879\u76ee\uff08\u8fd9\u91cc\u6307\u7684\u662f\u624b\u673a\u5ba2\u6237\u7aef\u9879\u76ee\uff09\u7684\u67d0\u4e2a\u7248\u672c\uff08\u4f8b\u59821.0\u7248\u672c\uff09\u5df2\u7ecf\u5b8c\u6210\u5f00\u53d1\u3001\u6d4b\u8bd5\u5e76\u5df2\u7ecf\u4e0a\u7ebf\u4e86\uff0c\u63a5\u4e0b\u6765\u63a5\u5230\u65b0\u7684\u9700\u6c42\uff0c\u65b0\u9700\u6c42\u7684\u5f00\u53d1\u9700\u8981\u4fee\u6539\u591a\u4e2a\u6587\u4ef6\u4e2d\u7684\u4ee3\u7801\uff0c\u5f53\u9700\u6c42\u5df2\u7ecf\u5f00\u59cb\u5f00\u53d1\u4e00\u6bb5\u65f6\u95f4\u7684\u65f6\u5019\uff0c\u7a81\u7136\u63a5\u5230\u7528\u6237\u6216\u6d4b\u8bd5\u4eba\u5458\u7684\u53cd\u9988\uff0c\u9879\u76ee\u4e2d\u6709\u4e2a\u91cd\u5927bug\u9700\u8981\u7d27\u6025\u4fee\u590d\uff0c\u5e76\u4e14\u8981\u6c42bug\u4fee\u590d\u540e\u8981\u7acb\u5373\u4e0a\u7ebf\uff1b\u6b64\u65f6\u5e94\u8be5\u600e\u4e48\u4fee\u590dbug\u5462\uff1f<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u662f\u5728\u5f53\u524d\u5df2\u7ecf\u5f00\u53d1\u65b0\u9700\u6c42\u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u4fee\u590d\u5417\uff1f\u7b54\u6848\u662f\u5426\u5b9a\u7684\uff0c\u539f\u56e0\u662f\uff1a\u5982\u679c\u662f\u5728\u5df2\u7ecf\u5f00\u53d1\u65b0\u9700\u6c42\u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u4fee\u590dbug\uff0c\u90a3\u4e48\u65b0\u9700\u6c42\u8fd8\u6ca1\u5f00\u53d1\u597d\uff0c\u66f4\u6ca1\u6709\u6d4b\u8bd5\uff0c\u600e\u4e48\u7acb\u523b\uff08\u6216\u6700\u53ef\u80fd\u5feb\u7684\uff09\u4e0a\u7ebf\uff1f\uff01\u518d\u6b21\u5982\u679c\u65b0\u529f\u80fd\u7684\u5f00\u53d1\u548cbug\u4fee\u590d\u7684\u4ee3\u7801\u90fd\u6d89\u53ca\u5230\u540c\u4e00\u6bb5\u4ee3\u7801\u51b2\u7a81\u4e86\u600e\u4e48\u529e \u3002\u5f88\u663e\u7136\u4e0d\u80fd\u5728\u5f53\u524d\u5f00\u53d1\u7684\u4ee3\u7801\u57fa\u7840\u4e0a\u8fdb\u884cbug\u4fee\u590d\u5de5\u4f5c\u5b8c\u7f8e\u7684\u89e3\u51b3\u65b9\u6848\u662f\uff1a\u5728\u5f53\u65f6\u5b8c\u6210\u7684\u90a3\u4e2a\u7248\u672c\u4e2d\u8fdb\u884cbug fix\uff0c\u8fd9\u6837\u5e26\u6765\u7684\u597d\u5904\u662f\uff1a<\/p>\n\n\n\n<p>1\uff1abug\u4fee\u590d\u597d\u4e4b\u540e\u53ef\u7acb\u5373\u4e0a\u7ebf\uff0c\u4e0d\u4f1a\u56e0\u4e3a\u65b0\u9700\u6c42\u8fd8\u6ca1\u6709\u5b8c\u6210\u6216\u6d4b\u8bd5\u800c\u5ef6\u8fdf\u4e0a\u7ebf\u65f6\u95f4<\/p>\n\n\n\n<p>2: bug\u4fee\u590d\u662f\u5728\u539f\u6765\u4e0a\u7ebf\u7684\u90a3\u4e2a\u7248\u672c\u8fdb\u884c\u4fee\u590d\u7684\uff0c\u5f15\u8d77\u65b0bug\u7684\u98ce\u9669\u5c0f\uff0c\u5982\u679c\u662f\u5728\u65b0\u9700\u6c42\u7684\u57fa\u7840\u4e0a\u4fee\u590dbug, \u90a3\u4e48\u65b0\u529f\u80fd\u53ef\u80fd\u4f1a\u5e26\u6765\u65b0\u7684bug<\/p>\n\n\n\n<p><strong>SVN\u4ed3\u5e93\u76ee\u5f55\u7ed3\u6784Repository\uff1a<\/strong><\/p>\n\n\n\n<p>trunk<\/p>\n\n\n\n<p>tags<\/p>\n\n\n\n<p>branches<\/p>\n\n\n\n<p><strong>trunk(\u4e3b\u5e72|\u4e3b\u7ebf) branchs(\u5206\u652f) tags(\u6807\u8bb0)<\/strong><\/p>\n\n\n\n<p>truck(\u4e3b\u5e72|\u4e3b\u7ebf|\u4e3b\u5206\u652f)\uff1a\u662f\u7528\u6765\u505a\u4e3b\u65b9\u5411\u5f00\u53d1\u7684\uff0c\u65b0\u529f\u80fd\u7684\u5f00\u53d1\u5e94\u653e\u5728\u4e3b\u7ebf\u4e2d\uff0c\u5f53\u6a21\u5757\u5f00\u53d1\u5b8c\u6210\u540e\uff0c\u9700\u8981\u4fee\u6539\uff0c\u5c31\u7528branch\u3002<\/p>\n\n\n\n<p>branch(\u5206\u652f)\uff1a\u5206\u652f\u5f00\u53d1\u548c\u4e3b\u7ebf\u5f00\u53d1\u662f\u53ef\u4ee5\u540c\u65f6\u8fdb\u884c\u7684\uff0c\u4e5f\u5c31\u662f\u5e76\u884c\u5f00\u53d1\uff0c\u5206\u652f\u901a\u5e38\u7528\u4e8e\u4fee\u590dbug\u65f6\u4f7f\u7528<\/p>\n\n\n\n<p>tag(\u6807\u8bb0)\uff1a\u7528\u4e8e\u6807\u8bb0\u67d0\u4e2a\u53ef\u7528\u7684\u7248\u672c\uff0c\u53ef\u4ee5\u6807\u8bb0\u5df2\u7ecf\u4e0a\u7ebf\u53d1\u5e03\u7684\u7248\u672c\uff0c\u4e5f\u53ef\u4ee5\u6807\u8bb0\u6b63\u5728\u6d4b\u8bd5\u7684\u7248\u672c\uff0c\u901a\u5e38\u662f\u53ea\u8bfb\u7684<\/p>\n\n\n\n<p><strong>SVN\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4\uff1a(TortoiseSVN\u7248\u672c: 1.8.8)<\/strong><\/p>\n\n\n\n<p><strong>\u4e00\uff1a\u521b\u5efa\u4ed3\u5e93<\/strong><\/p>\n\n\n\n<p>1. \u521b\u5efa\u76ee\u5f55\u7ed3\u6784D:\\TortoiseSVN\\Repository\\Repo-iOS<\/p>\n\n\n\n<p>2. \u5728\u8be5\u76ee\u5f55\u7ed3\u6784\u4e0a\u53f3\u952e<\/p>\n\n\n\n<p>&#8212;&gt; TortoiseSVN<\/p>\n\n\n\n<p>&#8212;&gt; Create repository here(\u521b\u5efa\u4ed3\u5e93\u8fd9\u91cc)&nbsp;<\/p>\n\n\n\n<p>&#8212;&gt; Create folder structure(\u521b\u5efa\u6587\u4ef6\u7ed3\u6784) &#8212;&gt; Start Repobrowser(\u5f00\u59cb\u4ed3\u5e93\u6d4f\u89c8) &#8212;&gt; Ok<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"608\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-14.png\" alt=\"\" class=\"wp-image-742\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-14.png 767w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-14-300x238.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"200\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-9.png\" alt=\"\" class=\"wp-image-737\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-9.png 375w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-9-300x160.png 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"800\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-12.png\" alt=\"\" class=\"wp-image-738\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-12.png 683w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-12-256x300.png 256w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure>\n\n\n\n<p><strong>\u4e8c\uff1a\u5c06\u9879\u76ee\u4e0a\u4f20\u5230SVN\u4e0a<\/strong><\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;\u684c\u9762\u53f3\u952e<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&#8212;&gt; TortoiseSVN<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&#8212;&gt;repo-browser&#8211;&gt; URL: &nbsp;<a href=\"file:\/\/\/D:\/TortoiseSVN\/Repository\/Repo-iOS\">file:\/\/\/D:\/TortoiseSVN\/Repository\/Repo-iOS<\/a>&nbsp;&#8212;&gt; Ok<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&#8211;&gt; \u9009\u4e2dtrunk\u6587\u4ef6\u5939\u53f3\u952e<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&#8212;&gt; Add folder&#8230;&nbsp;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&#8212;&gt; \u9009\u4e2d\u8981\u4e0a\u4f20\u5230SVN\u7684\u9879\u76ee\u7684\u6700\u5916\u5c42\u76ee\u5f55\uff0c\u8f93\u5165\u65e5\u5fd7<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;&#8212;&gt; Ok<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"493\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-10.png\" alt=\"\" class=\"wp-image-739\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-10.png 683w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-10-300x217.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"685\" height=\"492\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-11.png\" alt=\"\" class=\"wp-image-740\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-11.png 685w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-11-300x215.png 300w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><\/figure>\n\n\n\n<p><strong>\u4e09\uff1aCheck Out&nbsp;<\/strong><\/p>\n\n\n\n<p>1. \u5728\u7535\u8111\u4efb\u610f\u4f4d\u7f6e\u521b\u5efa\u4e00\u4e2a\u5b58\u653e\u9879\u76ee\u4ee3\u7801\u7684\u76ee\u5f55\uff0c\u4f8b\u5982\uff1aD:\\TortoiseSVN\\Repository\\Source<\/p>\n\n\n\n<p>2. \u5c06\u4ee3\u7801\u68c0\u51fa\u5230\u8be5\u4f4d\u7f6e<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"602\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-13.png\" alt=\"\" class=\"wp-image-741\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-13.png 774w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-13-300x233.png 300w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-13-768x597.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p><strong>\u56db\uff1a\u5f00\u53d1\u5468\u671f<\/strong><\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;<strong>1. \u5728\u76ee\u5f55D:\\TortoiseSVN\\Repository\\Source\\trunk\\MyAppProject\u4e0a\u8fdb\u884c\u5f00\u53d1\uff0c\u6ce8\u610f\u662f\u5728trunk\u4e3b\u7ebf\u4e0a<\/strong><\/p>\n\n\n\n<p>\u56e0\u4e3a\u9879\u76ee\u521a\u5efa\u7acb\uff0c\u8fd9\u662f\u5728\u5f00\u53d1\u65b0\u529f\u80fd\uff0c\u6240\u4ee5\u8981\u5728\u4e3b\u7ebf\u4e0a\u5f00\u53d1<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;<strong>2. \u5f00\u53d1\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u7ecf\u6d4b\u8bd5\uff0c\u4e0a\u7ebf\u5230App Store\uff0cAndroid\u4e0a\u4f20\u5230\u5176\u5b83\u5e94\u7528\u5546\u57ce\uff0c\u6458\u53d6\u4e0a\u7ebf\u65f6\u7684HomeViewController\u6587\u4ef6\u4e2d\u4e00\u6bb5\u4ee3\u7801\u5982\u4e0b<\/strong><\/p>\n\n\n\n<p>&#8211; (void) viewDidLoad {<br>&nbsp;&nbsp; [super viewDidLoad];<br>&nbsp;&nbsp; \/\/ &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br>&nbsp;&nbsp;&nbsp; int y = 0;<br>&nbsp;&nbsp;&nbsp; int result = 10 \/ y;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp; NSLog(@&#8221;iOS APP \u7b2c\u4e00\u9636\u6bb5\u5f00\u53d1\u5b8c\u6210\u4e86\uff01 \u7ed3\u679c\u662f\uff1a%ld&#8221;, result);<br>&nbsp;&nbsp; \/\/ End<br>}<\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp;3. \u5728D:\\TortoiseSVN\\Repository\\Source\\tags \u76ee\u5f55\u4e0b\u65b0\u5efa\u4e00\u4e2a\u76ee\u5f55\uff1a1.0,\u5e76\u5c06\u8be5\u76ee\u5f55\u63d0\u4ea4\u5230SVN\u4e0a\uff0c\u7136\u540e\u53f3\u952e &nbsp; &nbsp; &nbsp; &nbsp; D:\\TortoiseSVN\\Repository\\Source\\trunk\\MyAppProject\u8be5\u76ee\u5f55&#8212;&gt; TortoiseSVN&#8212;-&gt;<\/strong><strong>Branch\/tag&#8230;<\/strong><strong> &#8212;&#8211;&gt; To Path :<\/strong><strong>\/tags\/1.0\/<\/strong><strong>MyAppProject \u5e76\u9009\u4e2d Head revision in repository &#8212;&gt; Ok\u6b64\u65f6Source\/tags\/1.0 \u76ee\u5f55\u4e2d\u6ca1\u6709\u4efb\u4f55\u5185\u5bb9\uff0c\u9700\u8981\u66f4\u65b0\u4e00\u4e0b\u8be5\u76ee\u5f55\u505aupdate\u64cd\u4f5c\u3002\u66f4\u65b0\u4e4b\u540e\u770b\u5230\u4e00\u4e2a\u5b8c\u6574\u7684\u9879\u76ee\u6e90\u7801\u4fdd\u5b58\u5230\u8be5\u76ee\u5f55\u4e2d\uff08\u8be5\u76ee\u5f55\u4e0b\u7684\u6e90\u7801\u53ef\u770b\u505a\u662ftrunk\u76ee\u5f55\u4e0b\u7248\u672c\u4e3a1.0\u7684\u4e00\u4e2a\u526f\u672c\uff09\uff0c\u67e5\u770b\u4e00\u4e0b\/tags\/1.0\/HomeViewController\u4e2d\u7684viewDidLoad\u548ctrunk\/MyAppProject\/HomeViewController\u4e2d\u7684viewDidLoad\u4ee3\u7801\u5b8c\u5168\u4e00\u6837\u3002<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"712\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-15.png\" alt=\"\" class=\"wp-image-743\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-15.png 852w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-15-300x251.png 300w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-15-768x642.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"583\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-16.png\" alt=\"\" class=\"wp-image-745\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-16.png 555w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-16-286x300.png 286w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/figure>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;<strong>4. \u5f00\u53d1\u4e0b\u4e00\u9636\u6bb5\u7684\u65b0\u9700\u6c42\uff0c\u5f00\u53d1\u4e2ding<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp;5. \u7528\u6237\u6216\u6d4b\u8bd5\u4eba\u5458\u53cd\u9988\u5e94\u7528\u6709\u91cd\u5927bug\uff0c\u9700\u8981\u7acb\u5373\u4fee\u590d\u8be5bug\u5e76\u5c3d\u5feb\u4e0a\u7ebf\uff0c \u6b64\u65f6\u7a0b\u5e8f\u5458\u9700\u8981\u4e3a <\/strong><strong>tags\/1.0<\/strong><strong> \u4e0b\u7684MyAppProject \u6253\u4e00\u4e2a\u5206\u652fbranch\uff0c<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u64cd\u4f5c\u8fc7\u7a0b\u5982\u4e0b\uff1a\u9009\u4e2dSource\/<\/strong><strong>tags\/1.0\/MyAppProject<\/strong><strong> \u53f3\u952e TortoiseSVN&#8212;-&gt;<\/strong><strong>Branch\/tag&#8230;<\/strong><strong> &#8212;&#8211;&gt; To Path \uff1a\/<\/strong><strong>branches<\/strong><strong>\/MyAppProject &nbsp;&#8212;&gt; Ok<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;\u6b64\u65f6\u770bD:\\TortoiseSVN\\Repository\\Source\\branches\u76ee\u5f55\u4e0b\u4ecd\u7136\u6ca1\u6709\u4efb\u4f55\u5185\u5bb9\uff0c\u4e5f\u9700\u8981update\u4e00\u4e0b\uff0c\u66f4\u65b0\u4e4b\u540e\u53d1\u73b0\u8be5\u76ee\u5f55\u4e0b<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;\u4e5f\u51fa\u73b0\u4e00\u4e2a\u5b8c\u6574\u7684\u9879\u76ee\u4ee3\u7801\uff08\u8be5\u4ee3\u7801\u53ef\u770b\u505a\u662ftags\/1.0\/MyAppProject\u7684\u4e00\u4e2a\u526f\u672c\uff09\uff0c\u6ce8\u610f\u6253\u5206\u652f\u548c\u6253\u6807\u8bb0\u90fd\u662f\u4f7f\u7528Branch\/tag&#8230;\u83dc\u5355\uff0c\u4e0d\u540c\u7684\u662fTo Path \u7684\u76ee\u5f55\u4e0d\u4e00\u6837\uff0c\u56fe\u89e3\u770b\u6253\u5206\u652f\u7684\u56fe\uff0c\u53ea\u662fto path \u503c\u4e0d\u4e00\u6837\uff0c\u6b64\u65f6branches\/MyAppProject\/HomeViewController\u4e2d\u7684viewDidLoad\u548ctags\/1.0\/MyAppProject\/HomeViewController\u4e2d\u7684viewDidLoad\u4ee3\u7801\u5b8c\u5168\u4e00\u81f4\u3002<\/strong><\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;<strong>6. \u5207\u6362\u5de5\u4f5c\u7a7a\u95f4\uff0c\u4f7f\u7528<\/strong><a href=\"https:\/\/www.baidu.com\/s?wd=Xcode&amp;tn=24004469_oem_dg&amp;rsv_dl=gh_pl_sl_csd\"><strong>Xcode<\/strong><\/a><strong>|Eclipse\u96c6\u6210\u5de5\u5177\u6253\u5f00\/<\/strong><strong>branches<\/strong><strong>\/MyAppProject\u4e0b\u7684\u9879\u76ee\uff0c\u7136\u540e\u5728\u6b64\u57fa\u7840\u4e0a\u8c03\u8bd5\u5e76\u4fee\u590dbug\uff0c\u6ce8\u610f\u6253\u5f00\u7684\u5fc5\u987b\u662f\u5206\u652f\u4e2d\u7684\u9879\u76ee<\/strong><\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;<strong>7. bug \u4fee\u590d\u597d\u540e\uff0c\u5148\u63d0\u4ea4\u4fee\u6539\u7684\u6587\u4ef6\uff0c\u5e76\u8fdb\u884c\u5ba2\u6237\u7aefApp\u4e0a\u7ebf\uff0c\u4e0a\u7ebf\u5b8c\u6210\u540e\u518d\u5c06branches\/MyAppProject\/\u6253\u4e2atag\u52301.0.1\u76ee\u5f55\u4e0b\uff08<\/strong><strong>tags\/1.0.1<\/strong><strong>\uff09\uff08\u64cd\u4f5c\u6b65\u9aa4\u540c\u6b65\u9aa43\uff09\uff0ctag\u64cd\u4f5c\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u770b\u5230<\/strong><strong>tags\/1.0.1\/<\/strong><strong>HomeViewController.viewDidLoad \u548c <\/strong><strong>&nbsp;branches\/ <\/strong><strong>MyAppProject\/HomeViewController.viewDidLoad\u662f\u5b8c\u5168\u4e00\u81f4\u7684\uff0c\u5c06branches\/MyAppProject\u6253\u4e00\u4e2a\u65b0\u7684tag\u662f\u4ee5\u4fbf\u4e8e\u4e0b\u6b21\u5728\u6b64\u57fa\u7840\u4e0a\u518d\u6b21\u4fee\u590dbug\uff0c\u81f3\u6b64bug\u4fee\u590d\u5df2\u7ecf\u5b8c\u6210\uff1b\u4fee\u590dbug\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a<\/strong><\/p>\n\n\n\n<p>&#8211; (void) viewDidLoad {<br>&nbsp;&nbsp; [super viewDidLoad];<br>&nbsp;&nbsp; \/\/ &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br>&nbsp;&nbsp;&nbsp; int y = 10;<br>&nbsp;&nbsp;&nbsp; int result = 10 \/ y;<br>&nbsp;&nbsp;&nbsp; NSLog(@&#8221;iOS APP \u7b2c\u4e00\u9636\u6bb5\u5f00\u53d1\u5b8c\u6210\u4e86\uff01 \u7ed3\u679c\u662f\uff1a%ld&#8221;, result);<br>&nbsp;&nbsp; \/\/ End<\/p>\n\n\n\n<p>NSLog(@&#8221;1.0 \u7248\u672c\u95ea\u9000bug \u5df2\u4fee\u590d, \u7a0b\u5e8f\u51fa\u73b0\u96640\u5f02\u5e38&#8221;);<br>}<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp;<strong>8. \u63a5\u4e0b\u6765\u5c06branch\u548ctrunk\u8fdb\u884c\u5408\u5e76\uff0c\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\uff1a<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u53f3\u952e branches\/MyAppProject&nbsp;&#8212;&#8212;&gt;TortoiseSVN<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8212;-&gt; Merge&#8230;&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8212;&gt; Merge a range of revisions&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8212;-&gt; Next &#8212;&gt;URL to merge from : <\/strong><a href=\"file:\/\/\/D:\/TortoiseSVN\/Repository\/Repo-iOS\/trunk\/MyAppProject\"><strong>file:\/\/\/D:\/TortoiseSVN\/Repository\/Repo-iOS\/<\/strong><strong>trunk<\/strong><strong>\/MyAppProject<\/strong><\/a><strong>&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8212;-&gt; Next<\/strong><\/p>\n\n\n\n<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8212;-&gt; Merge<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"583\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-16.png\" alt=\"\" class=\"wp-image-744\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-16.png 555w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-16-286x300.png 286w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"595\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-17.png\" alt=\"\" class=\"wp-image-746\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-17.png 605w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-17-300x295.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/figure>\n\n\n\n<p><strong>9. \u5c06trunk\u548cbranches\u8fdb\u884c\u5408\u5e76 \u6b65\u9aa4\u5982\u4e0b\uff0c<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;\u53f3\u952e\/<\/strong><strong>turnk<\/strong><strong>\/MyAppProject &#8212;-&gt; Merge&#8230; &#8212;&#8211;&gt;&nbsp;Merge a range of revisions&nbsp;&nbsp; &#8212;&#8211;&gt; Next&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>&#8212;&#8211;&gt; &nbsp;URL to merge from : <\/strong><a href=\"file:\/\/\/D:\/TortoiseSVN\/Repository\/Repo-iOS\/branches\/MyAppProject\"><strong>file:\/\/\/D:\/TortoiseSVN\/Repository\/Repo-iOS\/<\/strong><strong>branches<\/strong><strong>\/MyAppProject<\/strong><\/a><\/p>\n\n\n\n<p>&nbsp; <strong>\u6b65\u9aa4\u540c\u4e0a\uff0c\u53ea\u662f&nbsp; URL to merge from&nbsp; &nbsp;\u7684\u8def\u5f84\u4e0d\u4e00\u6837\u3002\u5408\u5e76\u5b8c\u6210\u540e\uff0c\u67e5\u770b\u4e00\u4e0b\/trunk\/MyAppProject\/HomeViewController\/viewDidLoad\u65b9\u6cd5\u5982\u4e0b\uff1a<\/strong><\/p>\n\n\n\n<p>&#8211; (void) viewDidLoad {<br>&nbsp;&nbsp; [super viewDidLoad];<br>&nbsp;&nbsp; \/\/ &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br>&nbsp;&nbsp;&nbsp; int y = &lt;strong&gt;10&lt;\/strong&gt;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/\/ &lt;strong&gt;\u53ef\u4ee5\u770b\u5230branches\u5206\u652f\u4e2d\u7684\u4ee3\u7801\u5df2\u7ecf\u5408\u5e76\u5230\u4e3b\u7ebf\u4e0a\u4e86&lt;\/strong&gt;<br>&nbsp;&nbsp;&nbsp; int result = 10 \/ y;<br>&nbsp;&nbsp;&nbsp; NSLog(@&#8221;iOS APP \u7b2c\u4e00\u9636\u6bb5\u5f00\u53d1\u5b8c\u6210\u4e86\uff01 \u7ed3\u679c\u662f\uff1a%ld&#8221;, result);<br>&nbsp;&nbsp; \/\/ End<\/p>\n\n\n\n<p>NSLog(@&#8221;&lt;strong&gt;1.0 \u7248\u672c\u95ea\u9000bug \u5df2\u4fee\u590d, \u7a0b\u5e8f\u51fa\u73b0\u96640\u5f02\u5e38&lt;\/strong&gt;&#8221;);<\/p>\n\n\n\n<p>NSLog(@&#8221;\u5176\u4ed6\u540c\u4e8b\u5728\u4e3b\u7ebftrunk\u4e2d\u8fdb\u884c\u65b0\u9700\u6c42\u5f00\u53d1&#8230;&#8221;);<br>&nbsp;&nbsp; NSLog(@&#8221;\u5176\u4ed6\u540c\u4e8b\u5728\u4e3b\u7ebftrunk\u4e2d\u8fdb\u884c\u65b0\u9700\u6c42\u5f00\u53d1&#8230;&#8221;);<br>}<\/p>\n\n\n\n<p><strong>10. \u6b64\u65f6\u5408\u5e76\u5f7b\u5e95\u7ed3\u675f\uff0cbranches\u76ee\u5f55\u4e0b\u7684\u6e90\u7801\u5982\u679c\u4e0d\u60f3\u8981<\/strong><strong>\u4e5f\u53ef\u4ee5<\/strong><strong>\u5220\u6389\uff0c\u63a5\u7740\u4fee\u6539bug\u7684\u8fd9\u4f4d\u7a0b\u5e8f\u5458\u9700\u8981\u5207\u6362\u5de5\u4f5c\u7a7a\u95f4\u5230\u4e3b\u7ebf\u4e0a\u6765\uff0c\u4f7f\u7528Xcode\u91cd\u65b0\u6253\u5f00trunk\/MyAppProject\u9879\u76ee\uff0c\u63a5\u7740\u5f00\u53d1\u5c1a\u672a\u5b8c\u6210\u7684\u65b0\u529f\u80fd\u3002SVN\u76ee\u5f55\u5982\u4e0b\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"343\" src=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-18.png\" alt=\"\" class=\"wp-image-747\" srcset=\"https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-18.png 828w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-18-300x124.png 300w, https:\/\/thereisno.top\/wp-content\/uploads\/2024\/09\/image-18-768x318.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p><strong>\u8bf4\u660e\uff1a<\/strong><\/p>\n\n\n\n<p><strong>1. \u5206\u652f\u5f00\u53d1\u548c\u4e3b\u5e72\u5f00\u53d1\u662f\u4e24\u4e2a\u5b8c\u5168\u72ec\u7acb\u7684\u8fc7\u7a0b\uff0c\u4e24\u8005\u53ef\u4ee5\u540c\u65f6\u8fdb\u884c\u5f00\u53d1<\/strong><\/p>\n\n\n\n<p><strong>2. \u56e0\u5206\u652f\u548c\u4e3b\u5e72\u5f00\u53d1\u662f\u5e76\u884c\u7684\uff0c\u6240\u4ee5\u4e24\u8005\u53ef\u4ee5\u4efb\u610f\u7684\u591a\u6b21\u63d0\u4ea4\u5f53\u524d\u5de5\u7a0b\u6240\u4fee\u6539\u7684\u6587\u4ef6<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528\u573a\u666f\uff1a \u5047\u5982\u4f60\u7684\u9879\u76ee\uff08\u8fd9\u91cc\u6307\u7684\u662f\u624b\u673a\u5ba2\u6237\u7aef\u9879\u76ee\uff09\u7684\u67d0\u4e2a\u7248\u672c\uff08\u4f8b\u59821.0\u7248\u672c\uff09\u5df2\u7ecf\u5b8c\u6210\u5f00\u53d1\u3001\u6d4b\u8bd5\u5e76\u5df2\u7ecf\u4e0a\u7ebf\u4e86 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/thereisno.top\/?p=736\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cSVN trunk(\u4e3b\u7ebf) branch(\u5206\u652f) tag(\u6807\u8bb0) \u7528\u6cd5\u8be6\u89e3\u548c\u8be6\u7ec6\u64cd\u4f5c\u6b65\u9aa4\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[144],"tags":[84],"class_list":["post-736","post","type-post","status-publish","format-standard","hentry","category-svn","tag-svn"],"_links":{"self":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=736"}],"version-history":[{"count":2,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/736\/revisions"}],"predecessor-version":[{"id":1329,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/736\/revisions\/1329"}],"wp:attachment":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}