Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-8) was last changed on 22-Aug-2007 14:58 by JanneJalkanen  

This page was created on 26-Jan-2002 11:49 by 64.164.20.130

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed 27 lines
It is very tempting to just simply say
{{{
cvs commit .
}}}
in a top level directory, and then type in all of the changes at once. However, if you really only made a small change (like edited a typo in the javadoc) you don't want to hear about changes in every other file. Imagine the following log entry:
{{{
- Change frobozz() to accept ints instead of Integers
- fixed plenty of bugs
- new RegularExpression class does regular expressions
- Forgot to reset m_credit in Ugh.
- Incorporated Brian's changes into the main CVS tree
- fixed typos
}}}
Now, when you have to find out which version of MyClass.java was the last functional, you will have to wade through hundreds of lines of totally non-essential stuff. Not good. Also, can you be reasonably sure you've remembered everything? Every change you made?
A much better way is to make sure your IDE supports CVS and commit each file individually. For example, Emacs with PCL-CVS works wonderfully. So does [CodeGuide|http://www.omnicore.com/].
__Commit files individually! Otherwise your comments become unreadable.__
----
But wouldn't this, in all likelyhood, mean that the build is broken between when you start checking in files and when you finish? What if you get interrupted for an hour?
I think what's being gotten at here is that a checkin should only be about one or two things, and that I agree with, especially towards the end. When we're in Alpha, it's one bugfix per changelist. -- [MahlenMorris]
Yes, of course. Thanks for pointing that out. This ties in with the [CommitAFeature] -principle, which says that you should only commit one fix in at a time. If you commit a huge number of changes in, each file individually, then it's quite likely that the CVS tree would be in a non-compiling state at some point, breaking [DontBreakTheBuild] -principle. --[JanneJalkanen]
UPS
Version Date Modified Size Author Changes ... Change note
8 22-Aug-2007 14:58 1.887 kB JanneJalkanen to previous
7 22-Aug-2007 11:35 1.923 kB 1 to previous | to last Comment by 1
6 22-Aug-2007 02:18 1.887 kB MurrayAltheim to previous | to last disabled unintentional link
5 01-Aug-2007 09:27 1.886 kB JanneJalkanen to previous | to last
4 01-Aug-2007 04:02 0.005 kB 60.191.36.91 to previous | to last
3 05-Oct-2005 21:37 1.886 kB ThierryLach to previous | to last
2 26-Jan-2002 12:04 1.886 kB 212.90.75.172 to previous | to last
1 26-Jan-2002 11:49 1.507 kB 64.164.20.130 to last
« This page (revision-8) was last changed on 22-Aug-2007 14:58 by JanneJalkanen