开发者

Get a CVS log/history similar to the "git log" command?

I'm a git guy, but now I have to use CVS in a project temporarily. I haven't been able to find a command that displays a nicely formatted chronological commit list with author, commit message, date and revision (and nothing else).

Instead I get all sorts of useless information about RCS file, locks, etc, and cvs log seems to group commits by file rather than by date which makes it hard to get an over开发者_如何学编程view of what has happened in a repository.

Is there a way to do that, dear CVS experts?


Use git cvsimport to import the entire repository into git and then interact with git. It's not quite as smooth as git svn, but it does work well.


Here's a script to display the history of CVS commits similar to Git or SVN:

https://alvinabad.wordpress.com/2015/03/01/display-the-history-of-cvs-commits-similar-to-git-or-svn/

https://github.com/alvinabad/cvs-utils/blob/master/cvs-history.py

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜