svn experience
svn
svn-mirror
Svn-diff results analysis for new feature tasks (Draft)
cd ITEM_P1730/extension/ca/viaccess/daemon
svn diff -r 110140:112261 ./ | sed -e 's/\r//g' | grep "^+[^+]" | grep -Ev "^+[[:space:]]*(\/\*)|(\*)|(\/\/)" | grep -v "^+[[:space:]]*$" | wc -l
If we just run the command in local ITEM_P1730 folder, it still very slow :-(
Code size: 2906 lines (daemon 2834, other about 72)
Review: Accepted 2
Wontfix 2
Duplicate 8
Notice: The command result is not correct with the following situations:
1. Remove a folder and change the folder files to another even if the files is the same
svn copy
svn cp –r 122260 http://svn.ea.mot.com/dev/bsg/branches/BOBROV_MR2 http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117_1 -m “ITEM:P2117. 3.8: MP4 - Big file limitation improvement. from BOBROV@122260.”
svn cp http://svn.ea.mot.com/dev/bsg/branches/BOBROV_MR2@HEAD http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117_1 -m “ITEM:P2117. 3.8: MP4 - Big file limitation improvement. from BOBROV@122260.”
//status check
svn st
svn ci /dir/** /dir/** -m "sdfn"
svn revert
svn merge
A, rebase
当前工作目录http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117@HEAD
svn merge http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117@HEAD http://svn.ea.mot.com/dev/bsg/branches/BOBROV_MR2@HEAD
B, revert old version
svn merge http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117@HEAD http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2116@old_version
C, merge
当前工作目录http://svn.ea.mot.com/dev/bsg/branches/BOBROV@HEAD
svn merge http://svn.ea.mot.com/dev/bsg/branches/BOBROV_MR2@HEAD http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117@HEAD
svn diff
当前工作目录http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117@HEAD
svn diff http://svn.ea.mot.com/dev/bsg/branches/ITEM_P2117@HEAD http://svn.ea.mot.com/dev/bsg/branches/BOBROV_MR2@HEAD
svn diff http://svn.ea.mot.com/dev/bsg/branches/BOBROV_MR2@HEAD http://svn.ea.mot.com/dev/bsg/branches/BOBROV_MR2@HEAD
本文分享了Subversion (SVN) 在实际项目管理中的使用经验,包括代码差异分析、分支合并策略、状态检查及代码回滚等高级操作技巧。
716

被折叠的 条评论
为什么被折叠?



