SVN详解

  
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  
 <html xmlns="http://www.w3.org/1999/xhtml">
  
 <head>
  
 <link rel="canonical" href="http://blog.csdn.net/luomingkui1109/article/details/72677363"/>
 <meta http-equiv="Cache-Control" content="no-siteapp" /><link rel="alternate" media="handheld" href="#" />
  
 <title>SVN详解 - 似梦似意境
 - 博客频道 - CSDN.NET</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="description" content="1.为什么要使用SVN?为了解决多人协同开发环境下的具体问题。2.什么是SVN?SVN是Subversion的简称,是一款版本控制工具。常见版本控制工具:CVS→SVN→GIT3.SVN工作模式①C/S结构②三个基本操作[1]检出:只做一次[2]更新:经常[3]提交:经常4.服务器端安装和配置①服务器端程序的安" />
  
 <script src="http://static.blog.csdn.net/scripts/blog_static_head.min.js" type="text/javascript"></script>
  
  
 <!--new top-->
 <link rel="stylesheet" href="http://c.csdnimg.cn/public/common/toolbar/css/index.css"> <!--new top-->
  
 <!-- ad begin -->
 <script language="javascript" type="text/javascript" src="http://ads.csdn.net/js/tracking.js"></script>
 <!-- ad end-->
  
 <link rel="Stylesheet" type="text/css" href="http://static.blog.csdn.net/skin/light_blue/css/style.css?v=1.1" />
  
  
  
 <link id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="/Luomingkui1109/rss/list" />
 <link rel="shortcut icon" href="http://c.csdnimg.cn/public/favicon.ico" />
 <link type="text/css" rel="stylesheet" href="http://static.blog.csdn.net/scripts/SyntaxHighlighter/styles/default.css" />
  
  
  
 <link rel="stylesheet" href="http://static.blog.csdn.net/css/csdn_blog_detail.min.css" />
 </head>
  
  
 <body>
  
  
  
  
 <!-- 广告位开始 -->
  
 <!-- 广告位结束 -->
  
  
  
 <!--new top-->
 <script id="toolbar-tpl-scriptId" fixed="true" prod="blog" skin="black" src="http://c.csdnimg.cn/public/common/toolbar/js/html.js" type="text/javascript"></script>
 <!--new top-->
 <div id="container">
 <div id="header">
 <div class="header">
 <div id="blog_title">
 <h2>
 <a href="http://blog.csdn.net/luomingkui1109">似梦似意境</a></h2>
 <h3>最舒服的日子永远是昨天......</h3>
 <div class="clear">
 </div>
 </div>
 <div class="clear">
 </div>
  
  
 </div>
 </div>
 <div id="navigator">
 <div class="navigator_bg">
 </div>
 <div class="navigator">
 <ul>
 <li id="btnContents"><a href="http://blog.csdn.net/luomingkui1109?viewmode=contents"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_mulu'])">
 <img src="http://static.blog.csdn.net/images/ico_list.gif">目录视图</span></a></li>
 <li id="btnView"><a href="http://blog.csdn.net/luomingkui1109?viewmode=list"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_zhaiyao'])">
 <img src="http://static.blog.csdn.net/images/ico_summary.gif">摘要视图</span></a></li>
 <li id="btnRss"><a href="http://blog.csdn.net/luomingkui1109/rss/list"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_RSS'])">
 <img src="http://static.blog.csdn.net/images/ico_rss.gif">订阅</span></a></li>
  
  
 </ul>
 </div>
 </div>
 <script type="text/javascript">
 var username = "Luomingkui1109";
 var _blogger = username;
 var blog_address = "http://blog.csdn.net/luomingkui1109";
 var static_host = "http://static.blog.csdn.net";
 var currentUserName = "sulifei0213";
 </script>
  
 <div id="body">
 <div id="main">
 <div class="main">
 <div class="ad_class">
 <div class="notice tracking-ad" data-mod='popu_3' >
  
  
 <a href="http://blog.csdn.net/blogdevteam/article/details/71710010">
 <font color=blue><strong>【活动】2017 CSDN博客专栏评选</strong></font></a>
  
 &nbsp;&nbsp;&nbsp;&nbsp
  
 <a href=" http://blog.csdn.net/broadview2006/article/details/72677185">
 <font color=red><strong>【评论送书】SQL优化、深度学习、数据科学家</strong></font></a>
 &nbsp;&nbsp;&nbsp;&nbsp
  
 <a href="http://blog.csdn.net/blogdevteam/article/details/72725354">
 <font color=blue><strong>CSDN日报20170525 ——《狗蛋的寻亲之路,结识嵌入式世界的那只狗》
 </strong></font></a>
  
 &nbsp;&nbsp;&nbsp;&nbsp
  
 <a href=" http://blog.csdn.net/blogdevteam/article/details/72626843">
 <font color=red><strong>Python创意编程活动结果公布</strong></font></a>
  
  
 </div> </div>
  
  
  
  
  
  
  
  
  
  
  
 <script type="text/javascript" src="http://static.blog.csdn.net/scripts/category.js"></script>
  
 <script type="text/ecmascript">
 window.quickReplyflag = true;
  
 var isBole = false;
  
  
 var fasrc="http://my.csdn.net/my/favorite/miniadd?t=SVN%e8%af%a6%e8%a7%a3&u=http://blog.csdn.net/luomingkui1109/article/details/72677363"
  
 </script>
 <div id="article_details" class="details">
 <div class="article_title">
 <span class="ico ico_type_Original"></span>
  
  
 <h1>
 <span class="link_title"><a href="/luomingkui1109/article/details/72677363">
 SVN详解
 </a></span>
 </h1>
 </div>
  
  
  
 <div class="article_manage clearfix">
 <div class="article_l">
 <span class="link_categories">
 标签:
 <a href='http://www.csdn.net/tag/svn' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">svn</a><a href='http://www.csdn.net/tag/%e7%89%88%e6%9c%ac%e6%8e%a7%e5%88%b6%e5%b7%a5%e5%85%b7' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">版本控制工具</a><a href='http://www.csdn.net/tag/%e6%9c%8d%e5%8a%a1%e5%99%a8' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">服务器</a><a href='http://www.csdn.net/tag/subversion' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">subversion</a><a href='http://www.csdn.net/tag/cs' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">cs</a>
 </span>
 </div>
 <div class="article_r">
 <span class="link_postdate">2017-05-24 16:34</span>
 <span class="link_view" title="阅读次数">33人阅读</span>
 <span class="link_comments" title="评论次数"> <a href="#comments" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_pinglun'])">评论</a>(1)</span>
 <span class="link_collect tracking-ad" data-mod="popu_171"> <a href="javascript:void(0);" onclick="javascript:collectArticle('SVN%e8%af%a6%e8%a7%a3','72677363');return false;" title="收藏">收藏</a></span>
 <span class="link_report"> <a href="#report" onclick="javascript:report(72677363,2);return false;" title="举报">举报</a></span>
  
 </div>
 </div>
 <div class="embody" style="display:none" id="embody">
 <span class="embody_t">本文章已收录于:</span>
 <div class="embody_c" id="lib" value="{&quot;err&quot;:0,&quot;msg&quot;:&quot;ok&quot;,&quot;data&quot;:[]}"></div>
 </div>
 <style type="text/css">
 .embody{
 padding:10px 10px 10px;
 margin:0 -20px;
 border-bottom:solid 1px #ededed;
 }
 .embody_b{
 margin:0 ;
 padding:10px 0;
 }
 .embody .embody_t,.embody .embody_c{
 display: inline-block;
 margin-right:10px;
 }
 .embody_t{
 font-size: 12px;
 color:#999;
 }
 .embody_c{
 font-size: 12px;
 }
 .embody_c img,.embody_c em{
 display: inline-block;
 vertical-align: middle;
 }
 .embody_c img{
 width:30px;
 height:30px;
 }
 .embody_c em{
 margin: 0 20px 0 10px;
 color:#333;
 font-style: normal;
 }
 </style>
 <script type="text/javascript">
 $(function () {
 try
 {
 var lib = eval("("+$("#lib").attr("value")+")");
 var html = "";
 if (lib.err == 0) {
 $.each(lib.data, function (i) {
 var obj = lib.data[i];
 //html += '<img src="' + obj.logo + '"/>' + obj.name + "&nbsp;&nbsp;";
 html += ' <a href="' + obj.url + '" target="_blank">';
 html += ' <img src="' + obj.logo + '">';
 html += ' <em><b>' + obj.name + '</b></em>';
 html += ' </a>';
 });
 if (html != "") {
 setTimeout(function () {
 $("#lib").html(html);
 $("#embody").show();
 }, 100);
 }
 }
 } catch (err)
 { }
  
 });
 </script>
 <div class="category clearfix">
 <div class="category_l">
 <img src="http://static.blog.csdn.net/images/category_icon.jpg">
 <span>分类:</span>
 </div>
 <div class="category_r">
 <label onclick="GetCategoryArticles('6647875','Luomingkui1109','top','72677363');">
 <span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_fenlei']);">SVN<em>(1)</em></span>
 <img class="arrow-down" src="http://static.blog.csdn.net/images/arrow_triangle _down.jpg" style="display:inline;">
 <img class="arrow-up" src="http://static.blog.csdn.net/images/arrow_triangle_up.jpg" style="display:none;">
 <div class="subItem">
 <div class="subItem_t"><a href="http://blog.csdn.net/Luomingkui1109/article/category/6647875" target="_blank">作者同类文章</a><i class="J_close">X</i></div>
 <ul class="subItem_l" id="top_6647875">
 </ul>
 </div>
 </label>
 </div>
 </div>
 <div class="bog_copyright">
 <p class="copyright_p" >版权声明:本文为博主原创文章,仅代表个人观点,若有建议或异议,尽请留言。</p>
 </div>
  
  
  
  
  
  
  
  
 <div id="article_content" class="article_content tracking-ad" data-mod=popu_307 data-dsm = "post" >
  
 <div><span style="font-size:15px">1.为什么要使用SVN?</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">为了解决多人协同开发环境下的具体问题。</span></div>
 <div style="margin-left:40px"><span style="font-size:15px"><br>
 </span></div>
 <div><span style="font-size:15px">2.什么是SVN?</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">SVN是Subversion的简称,</span><span style="font-size:15px">是一款版本控制工具。</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">常见版本控制工具:CVS→SVN→GIT</span></div>
 <div style="margin-left:40px"><span style="font-size:15px"><br>
 </span></div>
 <div><span style="font-size:15px">3.SVN工作模式</span></div>
 <div><span style="font-size:15px">①C/S结构</span></div>
 <div><span style="font-size:15px">②三个基本操作</span></div>
 <div><span style="font-size:15px"><span style="white-space:pre"></span>[1]检出:只做一次</span></div>
 <div><span style="font-size:15px"><span style="white-space:pre"></span>[2]更新:经常</span></div>
 <div><span style="font-size:15px"><span style="white-space:pre"></span>[3]提交:经常</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524161217227?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""></span></div>
 <div style="margin-left:40px"><br>
 </div>
 <div><span style="font-size:15px"><span style="font-size:15px"><span style="font-size:15px"><span style="font-size:15px">4.服务器端安装和配置</span><br>
 </span></span></span></div>
 <div><span style="font-size:15px"><span style="font-size:15px"><span style="font-size:15px"><span style="font-size:15px"><span style="font-size:15px">①服务器端程序的安装</span><br>
 </span></span></span></span></div>
 <div><span style="font-size:15px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[1]运行Setup-Subversion-1.8.9-1.msi</span></div>
 <div><span style="font-size:15px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[2]一直下一步</span></div>
 <div><span style="font-size:15px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[3]在安装过程中选择安装目录时使用非中文无空&#26684;目录</span></div>
 <div><span style="font-size:15px"><span style="color:rgb(255,0,0)">&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;[4]使用svn --version命令验证出现如下内容就证明安装成功(</span><span style="font-size:15px">安装好之后会自动在path文件中注册,如果安装不成功,我们需要在后面加一个;这样在验证就可以了)</span></div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; background-color:rgb(251,250,248)">
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">C:\Users\Creathin&gt;svn --version</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">svn,版本 1.8.9 (r1591380)</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">&nbsp; &nbsp;编译于 May&nbsp; 8 2014,13:53:01 在 x86-microsoft-windows</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"><br>
 </span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">Copyright (C) 2014 The Apache Software Foundation.</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">This software consists of contributions made by many people;</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">see the NOTICE file for more information.</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">Subversion is open source software, see http://subversion.apache.org/</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"><br>
 </span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">可使用以下的版本库访问模块:</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"><br>
 </span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">* ra_svn : 使用 svn 网络协议访问版本库的模块。&nbsp; - 使用 Cyrus SASL 认证</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">&nbsp; - 处理“svn”方案</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">* ra_local : 访问本地磁盘的版本库模块。</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">&nbsp; - 处理“file”方案</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">* ra_serf : Module for accessing a repository via WebDAV protocol using serf.</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">&nbsp; - using serf 1.3.5</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">&nbsp; - 处理“http”方案</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">&nbsp; - 处理“https”方案</span></span></div>
 </div>
 <div>②配置服务器端版本库</div>
 <div>
 <div style="margin-left:40px"><span style="font-size:15px">[1]目的:创建一个专门的目录用来为SVN程序保存数据</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[2]第一步:自己创建一个文件夹</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[3]第二步:在命令行执行<span style="color:rgb(255,0,0)">svnadmin create</span>命令,命令的&#26684;式是</span></div>
 </div>
 <div>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 svnadmin create&nbsp;D:\DevRepository\Subversion<br>
 </div>
 <div style="margin-left:40px">[4]结果</div>
 </div>
 </div>
 <div><span style="font-size:15px"><span style="background-color:rgb(251,250,248); color:rgb(51,51,51); font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; font-size:12px"><img src="https://img-blog.csdn.net/20170524162716736?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""></span></span></div>
 <div><span style="font-size:15px">③启动服务器端程序:命令行启动</span></div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 svnserve -d -r&nbsp;D:\RepSVN\CRM</div>
 </div>
 <div>问题:如果使用D:\RepSVN\CRM作为版本库根目录启动服务器,那还能够访问ERP或OA目录下的数据吗?</div>
 <div><span style="white-space:pre"></span>不能访问,这是一种单仓库的启动方式。</div>
 <div><span style="font-size:15px">问题:如何配置多仓库的启动方式?</span></div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 svnserve -d -r&nbsp;D:\RepSVN</div>
 </div>
 <div><span style="font-size:15px">问题:如何确认SVN服务器已经启动?</span></div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 netstat -an:命令查看3690端口是否被监听</div>
 </div>
 <div><span style="color:rgb(255,0,0)">④启动服务器端程序:注册为Windows服务形式启动(推荐使用)</span></div>
 <div>
 <div>
 <div style="margin-left:40px"><span style="font-size:15px">[1]借助于Windows系统的sc.exe程序,在命令行窗口中是sc命令</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[2]使用sc命令的create子命令创建服务</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[3]创建服务器时需要指定服务的名称,指定服务对应的可执行程序的路径,指定服务默认的启动方式,指定依赖的协议</span></div>
 </div>
 <div><span style="color:rgb(255,0,0)"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 sc create 服务名 binpath= &quot;可执行程序的路径 可执行程序本身运行时需要的参数&quot; start= auto depend= Tcpip</div>
 </div>
 <div style="margin-left:40px"><span style="font-size:15px"><span style="color:rgb(65,0,125)">※注意:上面的命令中要求所有的“=”左边不能有空&#26684;,右边必须有一个空&#26684;!</span></span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[4]binpath属性中的命令</span></div>
 </div>
 <div><span style="color:rgb(255,0,0)"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 D:\DevInstall\Subversion\bin\svnserve.exe --service -r&nbsp;D:\RepSVN</div>
 </div>
 <div><span style="font-size:15px"><span style="white-space:pre"></span><span style="white-space:pre"></span>[5]完整的命令举例</span><br>
 </div>
 <div><span style="color:rgb(255,0,0)"></span>
 <div style="padding:8px; background-color:rgb(251,250,248)"><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">sc create SVNService binpath= &quot;D:\DevInstall\Subversion\bin\svnserve.exe --service -r D:\RepSVN&quot;
 start= auto depend= Tcpip</span></span></div>
 </div>
 <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <span style="font-size:15px">[6]</span><span style="font-size:15px">启动此服务:sc start 服务名(例如:sc start MySVNService)</span></div>
 <div><span style="font-size:15px"><span style="text-indent:0pt">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;说明:打开命令行窗口运行&nbsp;netstat</span>&nbsp;<span style="text-indent:0pt"></span><span style="text-indent:0pt">an&nbsp;查看3690端口是否被监听,</span></span><span style="font-size:15px">如果启动失败,那很有可能是binpath中的内容有错误,此时只能将已经创建的服务删除,重新创建。</span></div>
 <div><br>
 </div>
 <div><span style="font-size:15px">5.客户端工具使用:命令行(了解)</span></div>
 <div><span style="font-size:15px">①检出</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524162913268?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br>
 </span></div>
 <div><span style="font-size:15px"><span style="white-space:pre"></span><span style="white-space:pre"></span><span style="white-space:pre"></span>执行检出命令后,会在目标目录自动创建一个隐藏的.svn目录。这个目录中保存了当前工作副本和服务器之间交互的重要信息,所以不要删除或修改这里面的内容。</span></div>
 <div><span style="font-size:15px"><span style="white-space:pre"><span style="font-size:15px">工作副本:包含.svn的目录。 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></span></span></div>
 <div><span style="font-size:15px">②提交</span></div>
 <div><span style="white-space:pre"></span>&nbsp;&nbsp;<span style="font-size:15px">[1]需要通过运行</span><span style="font-size:15px; color:rgb(255,0,0)">svn add</span><span style="font-size:15px">命令将要提交的文件纳入到版本控制体系</span></div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 <div>D:\SVNSpace\Harry&gt;svn add Hello.txt</div>
 <div>A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hello.txt</div>
 </div>
 </div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp; &nbsp; [2]提交文件时需要通过附加日志信息的方式进行必要的说明,以记录本次提交的相关情况,直接操作没有权限,所以接下来执行第三部,这一步在后续执行。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp; &nbsp; [3]提交文件需要具备服务器端目录的写权限,可以暂时将匿名访问功能打开。</span></div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 D:\RepSVN\CRM\conf\svnserve.conf</div>
 </div>
 <div style="margin-left:40px"><span style="font-size:15px">使用文本编辑工具打开上面文件,编辑如下内容</span></div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 anon-access = write</div>
 <div style="margin-left:40px"><span style="font-size:15px">注意:这其实是一个属性文件,所有内容都必须顶&#26684;,前面不能有其他内容,包含空&#26684;也不可以。</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[4]提交命令举例</span></div>
 <div>
 <div><span style="font-size:15px"></span>
 <div style="padding:8px; background-color:rgb(251,250,248)">
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">D:\SVNSpace\Harry&gt;svn commit -m &quot;My First Commit&quot; Hello.txt</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">正在增加&nbsp; &nbsp; &nbsp; &nbsp;Hello.txt</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">传输文件数据.</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">提交后的版本为 1。</span></span></div>
 </div>
 <div><br>
 </div>
 </div>
 <div><span style="font-size:15px">③更新</span></div>
 <div style="padding:8px; background-color:rgb(251,250,248)">
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">D:\SVNSpace\Harry&gt;svn update Hello.txt</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">正在升级 'Hello.txt':</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">U&nbsp; &nbsp; Hello.txt</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">更新到版本 2。</span></span></div>
 </div>
 </div>
 </div>
 <div><br>
 </div>
 <div><span style="color:rgb(255,0,0)"><span style="font-size:16px">6.客户端工具使用:Eclipse插件(推荐使用)</span></span></div>
 <div><span style="font-size:15px">①Kepler</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[1]解压eclipse_svn_site-1.10.5.zip文件</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[2]复制到Eclipse的安装目录下的dropins目录下</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[3]重启Eclipse</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">[4]验证</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524163024499?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br>
 ③基本操作②≥Luna:再次不具体示例。</span></div>
 <div><span style="font-size:15px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[1]创建工程上传到SVN服务器。</span></div>
 <div><span style="font-size:15px"><span style="color:rgb(255,0,0)">&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;[2]build目录:由于存放的字节码文件在不同开发人员之间可能存在差异,从而造成冲突,所以build目录不加入版本控制体系,每个开发人员自己负责编译,</span><span style="font-size:15px">检出一个项目后需要将build目录添加至svn:ignore</span></div>
 <div><span style="font-size:15px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[3]冲突</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">(1)冲突的起因都是有“文件过时 ”。文件过时含义:修改当前文件时所依据的版本已经不是服务器端最新的版本。</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">(2)过时的文件不能提交,必须更新后才可以提交。</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">(3)如果更新下来的文件和当前文件修改的是同一个位置,那么就会产生冲突。</span></div>
 <div style="margin-left:40px"><span style="font-size:15px">(4)冲突的表现1:在冲突文件内部</span></div>
 <p><span style="font-size:14px"><img src="https://img-blog.csdn.net/20170524164225846?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br>
 </span></p>
 <div style="margin-left:40px"><span style="font-size:15px">(5)冲突的表现2:增加3个文件</span></div>
 <div><span style="font-size:15px">以mine为扩展名的文件中是冲突时的本地文件内容</span></div>
 <div><span style="font-size:15px">以r小版本号为扩展名的文件中是冲突的服务器端文件内容</span></div>
 <div><span style="font-size:15px">以r大版本号为扩展名的文件中是冲突后服前务器端文件的最新内容</span></div>
 <p></p>
 <div style="margin-left:40px"><span style="font-size:15px">(6)解决冲突</span></div>
 <div style="margin-left:40px"><span style="font-size:15px"><br>
 </span></div>
 <div><span style="font-size:15px">④图标含义</span></div>
 <div><span style="font-size:15px"></span>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524164333879?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">:当前目录或文件中没有未提交的修改</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524164407307?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">:新创建出来,尚未纳入版本控制体系</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524164437568?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">:已加入版本控制体系</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524164504401?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">:表示有未提交的修改</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524164541132?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">:表示当前文件发生了冲突</span></div>
 </div>
 <div><span style="font-size:15px"><br>
 </span></div>
 <div><span style="font-size:16px"><span style="color:rgb(255,0,0)">⑤SVN中各种符号箭头含义</span></span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(1).黄色感叹号(有冲突):</span></div>
 <div><span style="font-size:15px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这是有冲突了,冲突就是说你对某个文件进行了修改,别人也对这个文件进行了修改,别人抢在你提交之前先提交了,这时你再提交就会被提示发生冲突,而不允许你提交,防止你的提交覆盖了别人的修改。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(2).米字号(有本地修改代码):</span> <span style="font-size:15px">
 这是说明你有未提交的本地代码。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(3).问好(新加入的资源):</span> <span style="font-size:15px">
 &nbsp;这说明该文件是项目中新增文件资源,新增资源可以是文件、图片、代码等。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(4).红色感叹号(本地代码与库没有保持一致):</span> <span style="font-size:15px">
 这说明本地代码跟库上没有保持一致,如果用户想修复,可以将带红色感叹号图标文件删除,直接update即可。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(5).灰色向右箭头(本地修改过) :</span><span style="font-size:15px">本地代码没有及时上库。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(6).蓝色向左箭头(SVN上修改过) :</span><span style="font-size:15px">记得更新代码后修改,提交前跟svn对比习惯。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(7).灰色向右且中间有个加号的箭头(本地比SVN上多出的文件) :</span><span style="font-size:15px">修改完记得跟svn保持一致.</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(8).蓝色向左且中间有个加号的箭头(SVN上比本地多出的文件) ,</span><span style="font-size:15px">删除该文件后,再次更新,将svn上文件全部更新下来.</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(9).灰色向右且中间有个减号的箭头(本地删除了,而SVN上未删除的文件) ,</span><span style="font-size:15px">也就是说你删除确认后,一定要记得上库,跟svn保持一致</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(10).蓝色向左且中间有个减号的箭头(SVN上删除了,而本地未删除的文件) :</span><span style="font-size:15px">比对svn库上代码,确定需要删除后,更新svn(删除无用代码)。</span></div>
 <div><span style="font-size:15px">&nbsp; &nbsp; &nbsp;(11).红色双向箭头(SVN上修改过,本地也修改过的文件 ) :</span><span style="font-size:15px">这个表示本地和svn上都修改过,最好就是把本地修改合并到svn,修改代码前最后先更新。</span></div>
 <div style="margin-left:80px"><span style="font-size:15px"><br>
 </span></div>
 <div>
 <div><span style="font-size:15px">7.权限控制</span></div>
 <div><span style="font-size:15px">①基本设置:svnserve.conf</span></div>
 <div style="padding:8px; font-family:Monaco,Menlo,Consolas,&quot;Courier New&quot;,monospace; color:rgb(51,51,51); background-color:rgb(251,250,248)">
 <div># anon-access = write——表示匿名用户没有任何权限</div>
 <div>auth-access = write——表示授权用户有读写权限</div>
 <div>password-db = passwd——表示使用passwd文件来设置用户名、密码</div>
 <div>authz-db = authz——表示使用authz文件来进行授权</div>
 </div>
 <div><span style="font-size:15px">②设置用户名、密码:在passwd文件中</span></div>
 <div style="padding:8px; background-color:rgb(251,250,248)">
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">[users]</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"># harry = harryssecret 例子</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"># sally = sallyssecret 例子</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">kaifa01 = 123456</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">kaifa02 = 123456</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">ceshi = 123456</span></span></div>
 </div>
 <div><span style="font-size:15px">③分配权限:在authz文件中</span></div>
 <div style="padding:8px; background-color:rgb(251,250,248)">
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">[groups] ——创建用户组</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"># harry_and_sally = harry,sally</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"># harry_sally_and_joe = harry,sally,&amp;joe</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">kaifazu = kaifa01,kaifa02</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)"><br>
 </span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">[/] ——针对版本库根目录进行设置</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">@kaifazu = rw ——针对某个用户组进行设置</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">ceshi = r ——针对某个用户设置</span></span></div>
 <div><span style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace"><span style="color:rgb(51,51,51)">* =——表示除了上面设置的用户,其他用户都没有任何权限</span></span></div>
 </div>
 </div>
 <div><span style="font-size:15px">④查看资源历史记录</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524164649168?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br>
 解决办法:将anon-access设置为none</span></div>
 <div><span style="font-size:15px"><br>
 </span></div>
 <div><span style="font-size:15px">8.客户端工具使用:TortoiseSVN</span></div>
 <div><span style="font-size:15px">①图标含义参照</span></div>
 <div><span style="font-size:15px"><img src="https://img-blog.csdn.net/20170524163151598?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""><br>
 <br>
 <span style="font-size:15px">②汉化版和英文对比:</span></span></div>
 <div><span style="font-size:15px"><span style="font-size:15px"></span></span>
 <table style="">
 <tbody>
 <tr>
 <td style="border-style:solid; border-width:1px; border-color:rgb(211,211,211); padding:10px; margin:0px; width:50%">
 <img src="https://img-blog.csdn.net/20170524165951855?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""></td>
 <td style="border-style:solid; border-width:1px; border-color:rgb(211,211,211); padding:10px; margin:0px; width:49.8876404494382%">
 <img src="https://img-blog.csdn.net/20170524235332596?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvTHVvbWluZ2t1aTExMDk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt=""></td>
 </tr>
 </tbody>
 </table>
 <br>
 </div>
 <div><span style="font-size:15px"><span style="font-size:15px"><br>
 </span></span></div>
 <div></div>
 <div><br>
 </div>
  
 </div>
  
  
  
  
 <!-- Baidu Button BEGIN -->
  
  
  
  
 <div class="bdsharebuttonbox tracking-ad" style="float: right;" data-mod="popu_172">
 <a href="#" class="bds_more" data-cmd="more" style="background-position:0 0 !important; background-image: url(http://bdimg.share.baidu.com/static/api/img/share/icons_0_16.png?v=d754dcc0.png) !important"></a>
 <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间" style="background-position:0 -52px !important"></a>
 <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"style="background-position:0 -104px !important"></a>
 <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"style="background-position:0 -260px !important"></a>
 <a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"style="background-position:0 -208px !important"></a>
 <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"style="background-position:0 -1612px !important" ></a>
 </div>
 <script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "1", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
 <!-- Baidu Button END -->
  
  
  
  
 <!--172.16.140.12-->
  
 <!-- Baidu Button BEGIN -->
 <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=1536434" ></script>
 <script type="text/javascript" id="bdshell_js"></script>
 <script type="text/javascript">
 document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
 </script>
 <!-- Baidu Button END -->
  
 <script type="text/javascript">
 var fromjs = $("#fromjs");
 if (fromjs.length > 0) {
 $("#fromjs .markdown_views pre").addClass("prettyprint");
 prettyPrint();
  
 $('pre.prettyprint code').each(function () {
 var lines = $(this).text().split('\n').length;
 var $numbering = $('<ul/>').addClass('pre-numbering').hide();
 $(this).addClass('has-numbering').parent().append($numbering);
 for (i = 1; i <= lines; i++) {
 $numbering.append($('<li/>').text(i));
 };
 $numbering.fadeIn(1700);
 });
  
 $('.pre-numbering li').css("color", "#999");
 }
  
  
 $(".markdown_views a[target!='_blank']").attr("target", "_blank");
  
 $(".toc a[target='_blank']").attr("target", "");
  
  
  
 </script>
  
  
  
  
 <div id="digg" ArticleId="72677363" >
 <dl id="btnDigg" class="digg digg_enable" onclick="btndigga();">
  
 <dt></dt>
 <dd>1</dd>
 </dl>
  
  
 <dl id="btnBury" class="digg digg_enable" onclick="btnburya();">
  
 <dt></dt>
 <dd>0</dd>
 </dl>
  
 </div>
 <div class="tracking-ad" data-mod="popu_222"><a href="javascript:void(0);" >&nbsp;</a> </div>
 <div class="tracking-ad" data-mod="popu_223"> <a href="javascript:void(0);" >&nbsp;</a></div>
 <script type="text/javascript">
 function btndigga() {
 $(".tracking-ad[data-mod='popu_222'] a").click();
 }
 function btnburya() {
 $(".tracking-ad[data-mod='popu_223'] a").click();
 }
 </script>
  
 <ul class="article_next_prev">
 <li class="prev_article"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian']);location.href='/luomingkui1109/article/details/72676305';">上一篇</span><a href="/luomingkui1109/article/details/72676305" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian'])">如何删除github中项目</a></li>
 <li class="next_article"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian']);location.href='/luomingkui1109/article/details/72679524';">下一篇</span><a href="/luomingkui1109/article/details/72679524" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian'])">SVN如何废弃保存在本地的服务器端资源库位置</a></li>
 </ul>
  
 <div style="clear:both; height:10px;"></div>
  
  
 <div class="similar_article" >
 <h4></h4>
 <div class="similar_c"style="margin:20px 0px 0px 0px">
 <div class="similar_c_t">
 &nbsp;&nbsp;相关文章推荐
 </div>
  
 <div class="similar_wrap tracking-ad" data-mod="popu_36" style="max-height:195px;">
 <ul class="similar_list fl">
 <li>
 <em></em>
 <a href="http://blog.csdn.net/reblue520/article/details/52840148" title="centos7.2环境nginx+mysql+php-fpm+svn配置walle自动化部署系统详解" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">centos7.2环境nginx+mysql+php-fpm+svn配置walle自动化部署系统详解</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/jeikerxiao/article/details/60139163" title="Maven:pom文件详解" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">Maven:pom文件详解</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/xishuang_gongzi/article/details/48490831" title="Linux下开发关于Samba/Vimrc/svn/tftp/等基本的配置使用" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">Linux下开发关于Samba/Vimrc/svn/tftp/等基本的配置使用</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/qq_33749799/article/details/72153068" title="maven的pom详解" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">maven的pom详解</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/nmwhqjl/article/details/11608153" title="x264 代码重点详解 详细分析" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">x264 代码重点详解 详细分析</a>
 </li>
 </ul>
 <ul class="similar_list fr">
 <li>
 <em></em>
 <a href="http://blog.csdn.net/juruiyuan111/article/details/51743342" title="Android系统移植技术详解" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">Android系统移植技术详解</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/chengxusheji113/article/details/40682367" title="Git详解之八:Git与其他系统" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">Git详解之八:Git与其他系统</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/oDeviloo/article/details/52050277" title="Maven实战(三)--Pom.xml详解" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">Maven实战(三)--Pom.xml详解</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/zmissm/article/details/39103147" title="Git详解" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">Git详解</a>
 </li>
 <li>
 <em></em>
 <a href="http://blog.csdn.net/janeqi1987/article/details/50559999" title="对于linux下system()函数的深度理解(" strategy="SearchAlgorithm" target="_blank" style="width: 290px;">对于linux下system()函数的深度理解(</a>
 </li>
 </ul>
 </div>
 </div>
 </div>
  
 </div>
  
 <div>
  
  
 <script type="text/javascript">
 /*博客内容页下方Banner1-960*90,创建于2016-12-13*/
 var cpro_id = "u2843955";
 </script>
 <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
 </div>
  
 <div id="suggest"></div>
 <script language="javascript" type='text/javascript'>
 $(function(){
 $.get("/Luomingkui1109/svc/GetSuggestContent/72677363",function(data){
 $("#suggest").html(data);
 });
 });
 </script>
  
  
 <style>
 .blog-ass-articl dd {
 color: #369;
 width: 99%; /*修改行*/
 float: left;
 overflow: hidden;
 font: normal normal 12px/23px "SimSun";
 height: 23px;
 margin: 0;
 padding: 0 0 0 10px;
 margin-right: 30px;
 background: url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;
 }
 </style>
  
  
 <div id="relate" data-mod="popu_218" class="tracking-ad">
 <div class="relate_t">
 <h3><span>参考知识库</span></h3>
 </div>
 <div class="relate_c">
 </div>
 </div>
  
  
 <dl class="blog-ass-articl tracking-ad" id="res-relatived" data-mod="popu_84" >
 <div class="embody embody_b" id="libkeyparent" style="display:none">
 <span class="embody_t">更多资料请参考:</span>
 <div class="embody_c" id="libkey"></div>
 </div>
  
  
 <dt><span>猜你在找</span></dt>
  
  
  
  
  
 <div id="adcollegedata" style="display:none"></div>
  
 <div id="adCollege" style="width: 42%;float: left;">
 </div>
  
  
 <div id="resforAd" style="width: 42%;float: left;margin-right: 30px;"></div>
  
 <script src="http://csdnimg.cn/jobreco/job_reco.js" type="text/javascript"></script>
 <script type="text/javascript">
 csdn.position.showEdu({
 sourceType: "blog",
 searchType: "detail",
 searchKey: "72677363",
 username: "sulifei0213",
 recordcount: "10",
 containerId: "adcollegedata" //容器DIV的id。
 });
  
 //setEduLoc();
  
 //function setEduLoc() {
 // var edus = $("#adCollege div dd a");
 // if (edus.length == 0) {
 // setTimeout(function () {
 // setEduLoc();
 // }, 500);
 // }
 // else {
 // var eduLoc = "?ref=blog&loc=0";
 // $.each(edus, function (index, item) {
 // var href = $(this).attr("href") + eduLoc;
 // $(this).attr("href", href);
 // });
 // }
 //}
  
  
 setTimeout(function () {
 var adcolleges = $("#adcollegedata div dd");
 for (var i = 0; i < adcolleges.length; i++) {
 if (i < 5) {
 $("#adCollege").append("<dd>" + $(adcolleges[i]).html() + "</dd");
 }
 else {
 $("#resforAd").append("<dd>" + $(adcolleges[i]).html() + "</dd");
 }
 }
 }, 1500);
  
  
 </script>
  
 </dl>
  
  
  
  
  
 <div id="ad_cen">
 <div>
 <div class="J_adv" data-view="true" data-mod="ad_popu_199" data-mtp="43" data-order="114" data-con="ad_content_1843" style="width: 960px; height: 90px;">
 <script type="text/javascript">
 /*博客内容页下方Banner2-960*90,创建于,2016-11-28*/
 var cpro_id = "u2831143";
 </script>
 <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
 </div>
 </div>
 </div>
  
 <!-- 广告位开始 -->
 <!-- 广告位结束 -->
 <div class="J_adv" data-view="true" data-mod="ad_popu_72" data-mtp="62" data-order="40" data-con="ad_content_2072">
 <script id="popuLayer_js_q" src="http://ads.csdn.net/js/popuLayer.js" defer="defer" type="text/javascript"></script>
 <div id="layerd" style="position: fixed;bottom:0px;right:0px;line-height:0px;z-index:1000">
 <div class="J_close layer_close" style="display:;background-color:#efefef;padding:0px;color:#333;font:12px/24px Helvetica,Tahoma,Arial,sans-serif;text-align:right;">关闭</div><!-- 广告占位容器 --><div id="cpro_u2895327"></div></div>
 <script> document.getElementById("popuLayer_js_q").οnlοad=function(){ var styObjd=styObj={width:"300px","height":parseInt(250)+28};window.CSDN.Layer.PopuLayer("#layerd",{storageName:"layerd",styleObj:styObjd,total:50,expoire:1000*60}); }</script><!-- 投放代码 --><script type="text/javascript"> /*服务器频道首页置顶Banner960*90,创建于2014-7-3*/ (window.cproArray = window.cproArray || []).push({ id: "u2895327" }); </script> <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>
  
 </div>
  
 <div class="comment_class">
 <div id="comment_title" class="panel_head">
 <span class="see_comment">查看评论</span><a name="comments"></a></div>
 <div id="comment_list">
 </div>
 <div id="comment_bar">
 </div>
 <div id="comment_form">
 </div>
 <div class="announce">
 * 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场<a name="reply"></a><a name="quote"></a></div>
 </div>
  
 <script type="text/javascript">
 var fileName = '72677363';
 var commentscount = 1;
 var islock = false
 </script>
  
 <div id="ad_bot">
 </div>
 <div id="report_dialog">
 </div>
  
 <div id="d-top" style="bottom:60px;">
  
 <a id="quick-reply" class="btn btn-top q-reply" title="快速回复" style="display:none;">
 <img src="http://static.blog.csdn.net/images/blog-icon-reply.png" alt="快速回复">
 </a>
 <a id="d-top-a" class="btn btn-top backtop" style="display: none;" title="返回顶部" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_huidaodingbu'])" style="">
 <img src="http://static.blog.csdn.net/images/top.png" alt="TOP">
 </a>
 </div>
 <script type="text/javascript">
 $(function ()
 {
 $("#ad_frm_0").height("90px");
  
 setTimeout(function(){
 $("#ad_frm_2").height("200px");
 },1000);
 });
  
 </script>
 <style type="text/css">
 .tag_list
 {
 background: none repeat scroll 0 0 #FFFFFF;
 border: 1px solid #D7CBC1;
 color: #000000;
 font-size: 12px;
 line-height: 20px;
 list-style: none outside none;
 margin: 10px 2% 0 1%;
 padding: 1px;
 }
 .tag_list h5
 {
 background: none repeat scroll 0 0 #E0DBD3;
 color: #47381C;
 font-size: 12px;
 height: 24px;
 line-height: 24px;
 padding: 0 5px;
 margin: 0;
 }
 .tag_list h5 a
 {
 color: #47381C;
 }
 .classify
 {
 margin: 10px 0;
 padding: 4px 12px 8px;
 }
 .classify a
 {
 margin-right: 20px;
 white-space: nowrap;
 }
 </style>
  
  
 <div class="tag_list" style="display:none"></div>
 <script type='text/javascript'>
 $(function(){
 setTimeout(function(){
 $.get("/Luomingkui1109/svc/GetTagContent",function(data){
 $(".tag_list").html(data).show();
 });
 });
 },500);
 </script>
  
  
 <div id="pop_win" style="display:none ;position: absolute; z-index: 10000; border: 1px solid rgb(220, 220, 220); top: 222.5px; left: 630px; opacity: 1; background: none 0px 0px repeat scroll rgb(255, 255, 255);">
  
 </div>
 <div id="popup_mask"></div>
 <style>
 #popup_mask
 {
 position: absolute;
 width: 100%;
 height: 100%;
 background: #000;
 z-index: 9999;
 left: 0px;
 top: 0px;
 opacity: 0.3;
 filter: alpha(opacity=30);
 display: none;
 }
  
 </style>
  
  
  
  
 <script type="text/javascript">
 $(function(){
  
 setTimeout(function(){
 $(".comment_body:contains('回复')").each(function(index,item){
 var u=$(this).text().split(':')[0].toString().replace("回复","")
 var thisComment=$(this);
 if(u)
 {
 $.getJSON("https://passport.csdn.net/get/nick?callback=?", {users: u}, function(a) {
 if(a!=null&&a.data!=null&&a.data.length>0)
 {
 nick=a.data[0].n;
 if(u!=nick)
 {
 thisComment.text(thisComment.text().replace(u,nick));
 }
 }
 });
 }
 });
  
 },200);
  
 setTimeout(function(){
 $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
 },5000);
  
 setTimeout(function(){
 $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
 },10000);
  
 setTimeout(function(){
 $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
 },15000);
  
 setTimeout(function(){
 $("a img[src='http://js.tongji.linezing.com/stats.gif']").parent().css({"position":"absolute","left":"50%"});
 },300);
 });
  
 function loginbox(){
 var $logpop=$("#pop_win");
 $logpop.html('<iframe src="https://passport.csdn.net/account/loginbox?service=http://static.blog.csdn.net/callback.htm" frameborder="0" height="600" width="400" scrolling="no"></iframe>');
  
 $('#popup_mask').css({
 opacity: 0.5,
 width: $( document ).width() + 'px',
 height: $( document ).height() + 'px'
 });
 $('#popup_mask').css("display","block");
  
 $logpop.css( {
 top: ($( window ).height() - $logpop.height())/ 2 + $( window
 ).scrollTop() + 'px',
 left:($( window ).width() - $logpop.width())/ 2
 } );
  
 setTimeout( function () {
 $logpop.show();
 $logpop.css( {
 opacity: 1
 } );
 }, 200 );
  
 $('#popup_mask').unbind("click");
 $('#popup_mask').bind("click", function(){
 $('#popup_mask').hide();
 var $clopop = $("#pop_win");
 $("#common_ask_div_sc").css("display","none");
 $clopop.css( {
 opacity: 0
 } );
 setTimeout( function () {
 $clopop.hide();
 }, 350 );
 return false;
 });
 }
  
 var articletitle='SVN详解';
  
 </script>
  
  
  
  
  
  
  
  
 <div class="clear">
 </div>
 </div>
  
 </div>
  
 <div id="side">
  
 <div class="side">
 <div id="panel_Profile" class="panel">
 <ul class="panel_head"><span>个人资料</span></ul>
 <ul class="panel_body profile">
 <div id="blog_userface">
 <a href="http://my.csdn.net/Luomingkui1109" target="_blank">
 <img src="http://avatar.csdn.net/B/A/9/1_luomingkui1109.jpg" title="访问我的空间" style="max-width:90%"/>
 </a>
 <br />
 <span><a href="http://my.csdn.net/Luomingkui1109" class="user_name" target="_blank">Luomingkui1109</a></span>
 </div>
 <div class="interact">
  
 <a href="javascript:void(0);" class="attent" id="span_add_follow" title="[加关注]"></a>
  
 <a href="javascript:void(0);" class="letter" title="[发私信]" onclick="window.open('http://msg.csdn.net/letters/model?receiver=Luomingkui1109','_blank','height=350,width=700');_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_sixin'])"></a>
 </div>
 <div id="blog_medal">
 <div id="bms_box">
 <a target="_blank">
 <img src="http://c.csdnimg.cn/jifen/images/xunzhang/xunzhang/chizhiyiheng.png" onmouseover="m_over_m(this,4)" onmouseout="m_out_m()" alt="1" >
 </a>
 </div>
 </div>
 <ul id="blog_rank">
 <li>访问:<span>1144次</span></li>
 <li>积分:<span>323</span> </li>
 <li >等级: <span style="position:relative;display:inline-block;z-index:1" >
 <img src="http://c.csdnimg.cn/jifen/images/xunzhang/jianzhang/blog2.png" alt="" style="vertical-align: middle;" id="leveImg">
 <div id="smallTittle" style=" position: absolute; left: -24px; top: 25px; text-align: center; width: 101px; height: 32px; background-color: #fff; line-height: 32px; border: 2px #DDDDDD solid; box-shadow: 0px 2px 2px rgba (0,0,0,0.1); display: none; z-index: 999;">
 <div style="left: 42%; top: -8px; position: absolute; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 8px solid #EAEAEA;"></div>
 积分:323 </div>
 </span> </li>
 <li>排名:<span>千里之外</span></li>
 </ul>
 <ul id="blog_statistics">
 <li>原创:<span>29篇</span></li>
 <li>转载:<span>0篇</span></li>
 <li>译文:<span>0篇</span></li>
 <li>评论:<span>1条</span></li>
 </ul>
 </ul>
 </div>
  
  
 <div class="panel" id="panel_Search">
 <ul class="panel_head"><span>文章搜索</span></ul>
 <ul class="panel_body" class="form_search">
 <form id="frmSearch" action="http://so.csdn.net/search" class="form_search csdn-tracking-statistics" target="_blank" data-mod="popu_306">
 <span><input id="inputSearch" type="text" class="blogsearch" title="请输入关键字" /></span>
 <input id="btnSubmit" type="button" value="搜索" title="search in blog" />
 <input type="hidden" name="q" id="inputQ" />
 <input type="hidden" name="t" value="blog" />
 <a id="btnSearchBlog" target="_blank"></a>
 </form>
 </ul>
 </div>
  
 <script type="text/javascript">
  
  
 $(function () {
 $("#btnSubmit").unbind("click");
 $("#btnSubmit").click(function () {
 search();
 });
  
 $("#frmSearch").submit(function () {
 search();
 return false;
 });
  
 function search()
 {
 if ($("#inputSearch").val() == "") {
 alert("请录入搜索关键词!");
 return false;
 }
 //var url = "http://so.csdn.net/so/search/s.do?q=" + encodeURIComponent($("#inputSearch").val()) + "&u=" + username + "&t=blog";
 var url = "https://www.baidu.com/s?wd=" + encodeURIComponent($("#inputSearch").val()) + "%20site%3Ablog.csdn.net"
 window.location.href = url;
 }
 });
 </script><div id="panel_Category" class="panel">
 <ul class="panel_head"><span>文章分类</span></ul>
 <ul class="panel_body">
 <li>
 <a href="/Luomingkui1109/article/category/6644016" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JavaSE</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6644020" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JavaEE</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6644018" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JavaWeb</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6644022" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">MySql</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6644023" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Oracle</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647819" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Linux</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647824" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Redis</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647820" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">SpringMVC</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647821" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Spring</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647822" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Mybits</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647836" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Hibernate</a><span>(15)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647823" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Shiro</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647827" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">WebService</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647828" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Dubbo</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647873" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Git</a><span>(9)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647875" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">SVN</a><span>(2)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647876" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Maven</a><span>(4)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6647830" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">设计模式</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6935206" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">技术资料</a><span>(0)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6644042" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">面试相关</a><span>(1)</span>
 </li>
 <li>
 <a href="/Luomingkui1109/article/category/6931112" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">挨踢人生</a><span>(0)</span>
 </li>
 </ul>
 </div><div id="hotarticls" class="panel">
 <ul class="panel_head">
 <span>
 阅读排行 </span>
 </ul>
  
 <ul class="panel_body itemlist">
 <li>
 <a href="/luomingkui1109/article/details/53999654" title="4.POJO(持久化)类定义规则">4.POJO(持久化)类定义规则</a><span>(146)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/54000283" title="10.POJO对象的状态">10.POJO对象的状态</a><span>(63)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/53999782" title="6.数据库生成表策略">6.数据库生成表策略</a><span>(59)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/53897468" title="JavaSE">JavaSE</a><span>(59)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/53997425" title="2.Hibernate插件离线安装">2.Hibernate插件离线安装</a><span>(56)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/54000185" title="9.session的核心方法">9.session的核心方法</a><span>(55)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/53997726" title="3.Hibernate的HelloWorld">3.Hibernate的HelloWorld</a><span>(52)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/54000130" title="8.Session的一级缓存">8.Session的一级缓存</a><span>(48)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/72626390" title="12.检索策略">12.检索策略</a><span>(47)</span>
 </li>
 <li>
 <a href="/luomingkui1109/article/details/53999695" title="5.Hibernate核心的API">5.Hibernate核心的API</a><span>(47)</span>
 </li>
 </ul>
 </div>
 <div id="newcomments" class="panel">
 <ul class="panel_head"><span>最新评论</span></ul>
 <ul class="panel_body itemlist">
 <li>
  
 <a href="/luomingkui1109/article/details/72677363#comments">SVN详解</a>
 <p style="margin:0px;"><a href="/sulifei0213" class="user_name">sulifei0213</a>:
 挺实用的,感谢分享。
 </p>
 </li>
 </ul>
 </div>
 </div>
 <div class="clear">
 </div>
  
  
 <!-- 广告位开始 --> <!-- 广告位结束 -->
 <div class="J_adv" data-view="true" data-mtp="63" data-order="40" data-con="ad_content_1260" style="width: 200px; height: 200px;">
 <div id="nav_show_top_stop" style="width: 200px;height: 200px;z-index:1000"><div id="cpro_u2734128"></div></div>
 </div>
 <script type="text/javascript">
 setTimeout(function () {
 var naviga_offsetTop = 0;
 function naviga_stay_top() { var scrollTop = jQuery(document).scrollTop(); if (scrollTop > naviga_offsetTop) { jQuery("#nav_show_top_stop").css({ "position": "fixed" }); jQuery("#nav_show_top_stop").css({ "top": "0px" }); } else { jQuery("#nav_show_top_stop").css({ "position": "fixed" }); jQuery("#nav_show_top_stop").css({ "top": naviga_offsetTop - scrollTop + "px" }); } }
 function onload_function() { naviga_offsetTop = jQuery("#nav_show_top_stop").position().top; jQuery(window).bind("scroll", naviga_stay_top); jQuery(window).bind("mousewheel", naviga_stay_top); jQuery(document).bind("scroll", naviga_stay_top); jQuery(document).bind("mousewheel", naviga_stay_top); } jQuery(document).ready(onload_function);
  
 }, 200);
 </script>
 <script type="text/javascript">(window.cproArray = window.cproArray || []).push({ id: "u2734128" }); </script>
 <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>
  
 </div>
  
 <div class="clear">
 </div>
 </div>
  
  
  
 <script type="text/javascript" src="http://c.csdnimg.cn/rabbit/cnick/cnick.js"></script>
  
  
  
  
  
  
 <script type="text/javascript">
 $(function () {
 function __get_code_toolbar(snippet_id) {
 return $("<span class='tracking-ad' data-mod='popu_167'><a href='https://code.csdn.net/snippets/"
 + snippet_id
 + "' target='_blank' title='在CODE上查看代码片' style='text-indent:0;'><img src='https://code.csdn.net/assets/CODE_ico.png' width=12 height=12 alt='在CODE上查看代码片' style='position:relative;top:1px;left:2px;'/></a></span>"
 + "<span class='tracking-ad' data-mod='popu_170'><a href='https://code.csdn.net/snippets/"
 + snippet_id
 + "/fork' target='_blank' title='派生到我的代码片' style='text-indent:0;'><img src='https://code.csdn.net/assets/ico_fork.svg' width=12 height=12 alt='派生到我的代码片' style='position:relative;top:2px;left:2px;'/></a></span>");
 }
  
 $("[code_snippet_id]").each(function () {
 __s_id = $(this).attr("code_snippet_id");
 if (__s_id != null && __s_id != "" && __s_id != 0 && parseInt(__s_id) > 70020) {
 __code_tool = __get_code_toolbar(__s_id);
 $(this).prev().find(".tools").append(__code_tool);
 }
 });
  
 $(".bar").show();
 });
 </script>
  
  
  
  
  
 </div>
 <!--new top-->
  
  
 <script type="text/javascript" src="http://c.csdnimg.cn/pubfooter/js/tracking.js" charset="utf-8"></script>
  
  
 <!--new top-->
  
 <link href="http://c.csdnimg.cn/comm_ask/css/ask_float_block.css" type="text/css" rel="stylesheet" />
 <script language='JavaScript' type='text/javascript' src='http://c.csdnimg.cn/comm_ask/js/libs/wmd.js'></script>
 <script language='JavaScript' type='text/javascript' src='http://c.csdnimg.cn/comm_ask/js/libs/showdown.js'></script>
  
 <script language='JavaScript' type='text/javascript' src='http://c.csdnimg.cn/comm_ask/js/apps/ask_float_block.js'></script>
  
  
  
  
  
 <script type="text/javascript" src="http://ads.csdn.net/js/async_new.js"></script>
 <script type="text/javascript" src="http://static.blog.csdn.net/public/res/bower-libs/MathJax/MathJax.js?config=TeX-AMS_HTML"></script>
 <script type="text/javascript" src="http://c.csdnimg.cn/rabbit/search-service/main.js"></script>
 <script type="text/javascript">
 //$(function () {
 // setTimeout(function () {
 // var searchtitletags = articletitle + ',' + $("#tags").html();
 // searchService({
 // index: 'blog',
 // query: searchtitletags,
 // from: 5,
 // size: 5,
 // appendTo: '#res',
 // url: 'recommend',
 // his: 2,
 // client: "blog_cf_enhance",
 // tmpl: '<dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="#{ url }" title="#{ title }" strategy="#{ strategy }">#{ title }</a></dd>'
 // });
 // }, 1000);
 //});
  
 </script>
 <script src="http://static.blog.csdn.net/scripts/csdn_blog_detail.min.js" type="text/javascript"></script>
  
 <script type="text/javascript" src="http://medal.blog.csdn.net/showblogmedal.ashx?blogid=5807903"></script>
  
 <script id="csdn-toolbar-id" btnId="header_notice_num" wrapId="note1" count="5" subCount="5" type="text/javascript" src="http://c.csdnimg.cn/public/common/toolbar/js/toolbar.js"></script>
  
  
  
 <div id="a52b5334d" style="width: 1px; height: 1px; display: none;">
 <script id="adJs52b5334"></script>
 <script>document.getElementById("adJs52b5334").src = "http://ads.csdn.net/js/opt/52b5334.js?t=" + Math.random();</script>
 </div>
  
  
 <script type="text/javascript" src="http://static.blog.csdn.net/scripts/saveToCode.js"></script>
 <script type="text/javascript" src="//c.csdnimg.cn/rabbit/tracking-ad/main.js?75eacd8"></script>
  
  
  
  
  
 <div class="pop_CA_cover" style="display:none"></div>
 <div class="pop pop_CA" style="display:none">
 <div class="CA_header">
 收藏助手
 <span class="cancel_icon" id="fapancle" onclick="$('.pop_CA').hide();$('.pop_CA_cover').hide();"></span>
 </div>
 <iframe src="" id="fa" frameborder="0" width="100%" height="360" scrolling="no" ></iframe>
 </div>
  
 </body>
 </html>
 
  • 0
    点赞
  • 1
    评论
  • 0
    收藏
  • 扫一扫,分享海报

©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值