Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN Commit regulations

Tags:

commit

svn

Should commits be made only if the solution compiles and builds successfully? are "mid-way" commits acceptable in very large changes that leave the code not working for say, a few hours?

like image 893
bevacqua Avatar asked Dec 31 '10 21:12

bevacqua


2 Answers

Yes it is acceptable.

Version control is for version control; not backup. You should have something separate in place for dealing with backups of compilable code which may indeed circle back around to the version control system.

Either way forcing a developer to wait to check in code is an impending disaster of lost code at some point.

like image 82
Aaron McIver Avatar answered Sep 25 '22 14:09

Aaron McIver


Ensuring that code doesn't stay broken for too long is the job of continuous integration, not version control.

like image 24
Brian Clapper Avatar answered Sep 26 '22 14:09

Brian Clapper