how to detect modified properties using SVN log

后端 未结 5 445
旧时难觅i
旧时难觅i 2021-01-11 16:40

Background: writing an automated release script to export changed files between versions from SVN and upload to remote server.

The svn log command shows modified fil

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-11 16:44

    I know this question has been answered, but in case anyone would like a little guide I've made this post about how to get get queryable data from svn log/diff (including bash scripts, xslt and oracle database scripts). Doing this enables you to run all sorts of useful queries against the view v_svnlog

    "hot" files in this patch:

    select path, count(*) num from v_svnlog
    group by path
    order by num desc, path asc
    

    most tests by author

    select author, count(*) num from v_svnlog
    where path like '%Test%'
    group by author
    order by num desc
    

    and so on...

提交回复
热议问题