开发者

svn diff summarize

开发者 https://www.devze.com 2022-12-23 01:38 出处:网络
I want to get collated changed files across certain revision sets. Something like this : svn diff --summarize -r2949:3594,3925:4007,4015:4153 repo-url

I want to get collated changed files across certain revision sets. Something like this : svn diff --summarize -r2949:3594,3925:4007,4015:4153 repo-url

Any hacks on this svn command to achieve this ?

regds,开发者_如何转开发


I don't see a way to do what you are exactly requesting, however not know exactly what you are trying to accomplish, I am assuming that you only want to look at the diffs for certain files. As Such you could use an external diff command to get the info you need. for instance here's one that shows diff for everything but files with 'table' in them.

# svn diff --diff-cmd=/usr/bin/diff --extensions='-uw --exclude="*table*"'

If you want to exclude many files then you would need to use the --exclude-from directive. Read the man page very carefully. Here's an example exclude file that I have for this purpose

*cache*
file*
error_log
Images
dev.sett.php
server.sett.php.dev
manifest
manifest.uuid
migrate
school_deploy.sql
noimage_20_20_square.png
noimage_20_20square.png
noimage_50_20square.png
noimage_5020square.png
server.sett.php
*fsl
*FOSSIL*
0

精彩评论

暂无评论...
验证码 换一张
取 消