简体   繁体   中英

SVN: How to list author, date and comments from svn log

I am using SVN on Windows 10 machine. I want to list Author , Date and Comment of all commits within a date range. So I want to report 1 line per commit and each line has 3 columns. How can I do that?

I want to be able to copy that report and paste in Excel.

Thanks

Short answer

Nohow. You can't change format of log output in pure SVN, you can only disable ( -q option) log-message in separate line(s)

Longer answer

Because svn log have always single (documented) format of output and -r option accept date as parameters you can write appropriate log-command and post-process results (in standard human-readable form or in xml-output )

Long answer

If generating different custom reports from SVN-repositories is your long-running regular task, you can to think (at least) about using Mercurial (with hgsubversion) as interface for processing data. With HG you'll have - transparent access to original SVN-repos - full power of templating and revsets for extracting and manipulating of data for your needs and requirements

What you are looking for is called the Subversion Webview. These are third party mostly free to use web view of your repository where you can filter out commints like the following: Web 视图显示我的存储库中的最近历史记录

You can either filter there in the view or copy it in excel and add a filter yourself.

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM