SVN 使用经验
来源:互联网 发布:矩阵qr分解怎么做 编辑:程序博客网 时间:2024/05/17 21:23
· Use svn property svn:external to load part offiles from svn repository
Problem we meet: Now the AppUp SDK SVNdirectory is so big, it need take long time to load all the files under the srcdirectory, but most of time, user may only need part of source. Forexample, when change the windows CPP version, only need few directory(core,cpp,include,adputil)
Solution:
Usethe svn property svn:externals
Try it:
Just check out the URL https://shwde8342.ccr.corp.intel.com/svn/trunk/Project/GlobalSVNAppUpSDKMapping , you will find that only the windows CPP related source code of global SVN hasbeen checked out, and you can manipulate the SVN as usual.
Magic behind:
svn property svn:externals is used to get the source from otherrepository. For example, if our AppUP SDK need use the Meego SVN, then we canadd a directory called Meego and set it’s property to Meego’s URL, then SVN issmart enough to know that it will retrieve some source code from Meego.
How to set property in svn:
Just choose file or directory, right click mouse and choose “Properties”,then choose “New”.
I have create a directory in our local SVN, and add asub-directory called src. And set following svn property:
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/cppcpp
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/corecore
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/includeinclude
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/samples samples
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/liblib
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/adputiladputil
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/RawLocation RawLocation
If I only need the AppUp Meego part source, how to do ?
Easy, just check out same url https://shwde8342.ccr.corp.intel.com/svn/trunk/Project/GlobalSVNAppUpSDKMapping, when you see the src directory has been checked out then press CANCELbutton to cancel SVN to check out the Window CPP code, then choose the srcdirectory and cheange the svn:externals property to following:
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/cpp-meegocpp-meego
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/core-meegocore-meego
https://subversion.jf.intel.com/ssg/ssd/mrtc/IADP/ADP_SDK/Src/includeinclude
More you need know…
Actually, use the svn property, we can do so many interesting and useful thing,such as use the bugtraq:xx to integrated with the BugZilla, …
· External programms:
By default, SVN use the TortoiseDiff andTortoiseMerge for diff and merge, if you don’t like that, then you can chooseyour favorite tools by right mouse click and choose your own program.
I highly recommend use the BeyondCompare. TheBeyondCompare Merge is much much better than TortoiseMerge
tips:
The parameter order of TortoiseMerge and BeyoncCompare order is different, just use a batch file to adapt them
- subclipse svn 使用经验
- SVN 使用经验
- svn使用经验
- svn使用经验
- svn使用经验
- SVN使用经验心得一
- SVN使用经验心得二
- SVN使用经验心得三
- CVS和SVN使用经验
- SVN使用中的经验浅谈
- SVN使用中的经验浅谈
- SVN使用中的经验浅谈
- svn的一些使用经验
- SVN使用中的经验浅谈
- [SVN]SVN的使用经验汇总
- 记录一点AndroidStudio使用SVN的经验
- svn分支管理的使用与经验
- svn分支管理的使用与经验
- 委托
- 如何组建一个家庭网络
- java时间的设置
- Javascript(js)整理及应用
- SHA安全散列算法
- SVN 使用经验
- 独立思考者的投资分析-巴菲特的迷思
- 线程初尝
- Android Camera 架构简析
- 国乒女队建"一帮一"小组 李娜流利英语触动国手
- 内核支持VGA和测试
- 冰舞美女失踪是虚惊一场 家人不肯透露事件细节
- Android上基于JSON的数据交互应用
- 用PLSQL DEVELOPER创建自动定时执行JOB