views:

111

answers:

3

Hello guys,

How can I add a revision history in a file like shown here. Just to keep it simple and clean.

A: 

It depend on the version control system that U use. I don't know how to do it in SVN. But it seem that you will have to digg deep into the version control messages that are input when a commit is done

Stéphane
A: 

Many source control systems provide tags that can be embedded into a source file to automatically insert revision information (dates, users, history, comments, etc.) when embedded into the source code. What those tags are depends on the system being used.

... assumes good use of version control

James Conigliaro
+2  A: 

That looks like it was hand coded, but you could get something like that with a combination of a version control system and a bug tracking system, such as Jira and SVN.

Myles
Do you know if it's also possible with a VCS like Mercurial, bzr?
Kenny M.
If you can get your bug tracking system to be Mercurial aware, I don't see why not. As to the specifics, I'm a SVN user, so I don't know.
Myles
OK. Thanks for your opinion anyway! :)
Kenny M.