Tremendously cool thing! Now...if someone could come up
with a regular expression which puts : //$Header: $ at
the top of all .cs files in a 'safe' way...my day would
be made :-)
Not so cool - we have VB source code that has been in
near constant maintenance since 1997. By now the history
is more like an anthology!
So we now have a new rule: the source code is only a
snapshot of how the code works right now. History is for
the VSS history dialog.
Dancan: I see what you mean. Still, lots of other good
keywords there that I think could be of use..
Duncan: Im with you. When we made the transition to CVS,
I went through and stripped all the history out of our
.cs files.
Replaced $History with $Id $... So, at the top of the
file, I get a one line summary of filename, date/time
last committed and who committed it.
Also you could add a region (Vb.NET) around the
history....
#Region " File history "
' $Header: $
'
' $History: $
'
#End Region
That way you only see the history if/when you want...
In following-up with my last question-
I found the solution. It is using the extended comments
in VB (to achive multi-line grouping). Please see
example below.