News for hackers. Stuff that matters.
Re:Version Control Before Git with CVS by rajuljain883 on Sunday July 08, 2018 @09:51AM (#17483788)
I don't know why my company use perforce
Re:Version Control Before Git with CVS by JackCh on Sunday July 08, 2018 @06:25PM (#17486616)
Probably because Perforce scales to truly massive monolithic repos while git traditionally doesn't (the insanity going on at Microsoft notwithstanding.)

Personally I feel the best method is using lots of small repos, one for each service or library, that get stitched together by the build system. I know some large tech companies have created such systems and I have experience with one of them working very well (they migrated from perforce). But this is a big change from the monolithic repository model and institutional inertia is very real.

(Perforce will eventually start to hit a wall when you get to the point where money won't buy hardware big enough for Perforce to serve your repo fast, but that's a very long way off for most organizations and I believe there are some mitigations for it.)

Re:Version Control Before Git with CVS by jogjayr on Monday July 09, 2018 @01:46AM (#17488218)
> Personally I feel the best method is using lots of small repos, one for each service or library, that get stitched together by the build system.

But then your teams have to manage dependencies - or your release team has to do it for them. It's very easy to run into diamond-dependency problems or runtime classpath issues.

Re:Version Control Before Git with CVS by JackCh on Monday July 09, 2018 @03:28AM (#17488539)
Sure, but in practice it seems to work pretty well.
Re:Version Control Before Git with CVS by ebikelaw on Sunday July 08, 2018 @10:24AM (#17483934)
What’s wrong with it? Perforce is excellent. Git is OK but owes a lot of its popularity to its price.
Re:Version Control Before Git with CVS by pletnes on Sunday July 08, 2018 @12:29PM (#17484602)
The fact that branching = copied directories is certainly wrong.
Re:Version Control Before Git with CVS by ebikelaw on Sunday July 08, 2018 @01:16PM (#17484903)
Branches are virtual copies/views in p4.
Re:Version Control Before Git with CVS by pletnes on Monday July 09, 2018 @04:42PM (#17493261)
Then some user will copy a directory, check it in, and declare that s/he «has branched the code». Oh, and quietly pull in some other directory, which is clearly not branched. This is just broken IMHO.