svn批量处理

批量添加文件至svn

svn status | awk '{if($1 == "?"){print $2}}' | xargs svn add

svn commit

 

 

批量解决 : Node remains in conflict

svn resolve --accept theirs-full .
svn update | awk '{if($1 == "Skipped"){print $2}}' | xargs svn resolved
svn update
svn resolve --accept theirs-full .

 

批量提交已经删除的文件

svn status | awk '{if($1 == "!"){print $2}}' | xargs svn rm
发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /opt/wordpress/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048