Any nice way to generate a timeline view of commits from subversion?

♀尐吖头ヾ 提交于 2019-12-11 00:28:34

问题


Just starting out with subversion, have set up repos for 3 current projects and all seems good. Subclipse is nice isn't it!

Anyway, what I'd like to have is a nice timeline showing the commits with comments for these repos. They are all hosted on the same server as the websites that they contain.

I've tried trac, which does what I want, but seems a huge overkill as I don't really want the tickets/wiki/etc, just the timeline.

Any ideas?


回答1:


subclipse plugin for eclipse can create a timeline showing revisions, branches, merges, etc. There are probably others as well, though.

http://subclipse.tigris.org/

edit: yup, TortoiseSVN also does this. see http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-revgraph.html

Edit 2: To be fair, neither of the above create timelines per se. They both create revision graphs. The date/time of the commits are available in subclipse (and probably tortoisesvn as well) by hovering over the elements of the graph, (and looking at the revision history table) but strictly speaking they aren't timelines. I'm not aware of anything that produces this information in a timeline format. Hopefully those meet your needs.




回答2:


Use the svn log command. Add a -v flag to show what files were modified by each commit. The output is likely to be voluminous, so you will probably want to limit the output to the last 100 or so lines using the -l flag. Putting it all together:

  1. Start a command prompt such as bash on Linux or cmd.exe on Windows.
  2. cd your repository

  3. svn log -l 100 -v


来源:https://stackoverflow.com/questions/929842/any-nice-way-to-generate-a-timeline-view-of-commits-from-subversion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!