Re: cvs update vs. git pull

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fredagen den 28 maj 2010 11.21.12 skrev  René Moser:
> Hi
> 
> I use git since a while for my own projects (how surprise).
> 
> The company I work for still uses a CVS(nt), and this sucks, time to
> changed that. We have a use case we often have problems with. If git would
> solve this problem, I would really have a good arg for the managers.
> 
> The codebase managed by CVS is quite huge and therefore we have daily and
> nightly builds.
> 
> 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.

Perform export/checkout using a timestamp to avoid this. You should also 
require that no checkins to your branch have happend during a period, say 10 
minutes, before starting the build.

> 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?

Yes. It's hard to predict what happens when you have multiple repos involved, 
in the build. Requiring no changes (on the build branch) in all repos is one
option.

-- robin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]