Re: cvs update vs. git pull
From: Matthieu Moy <hidden>
Date: 2016-06-15 22:48:52
René Moser [off-list ref] writes:
One problem we have is, that if there is a commit to cvs while the cvs update of the build job is running (and this takes 20 minutes), then we get some inconsistence, the build will fail.
Git will also bring a big performance improvement here. The duration of the "git pull" will be mostly O(number of modifications since last pull), not O(total number of files).
So the question is, if we would use git, this inconsistence would not be possible because the git pull will get the state of the sha1. Right?
Actually, if you use almost anything but CVS (i.e. even SVN can do that), you will get "atomic commits", i.e. a commit touching multiple files is either seen as completed or not seen at all. -- Matthieu Moy http://www-verimag.imag.fr/~moy/