开发者

Open-source annotation/blaming tool [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

What is a good open-source tool for blaming / praising / annotating code (or other text that has a history)?

What I mean is a tool to 开发者_如何学Pythontake code that has a history in source control and show which line came from which revision / version.

I would prefer one that detects lines that were moved, too. And it has to be open source.

Update: I want to view/use its code, not just use the tool itself.


Almost all version control systems include functionality like this (I'd say that versioning systems that don't are broken). If you're using CVS, the comand is cvs annotate; if you're using Subversion, it's svn blame. The right way to do this is going to be specific to your VCS, even if you're using web-based tools like ViewVC or ViewSVN (or github!).


I believe Trac offer a blame (annotate) mode, when used in conjonction with some VCS (like SVN or Mercurial)

For instance, the Mercurial plugin in Trac has support for visual blame annotations:

Open-source annotation/blaming tool [closed]

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜