r/programming • • Jul 08 '18

Version Control Before Git with CVS

https://twobithistory.org/2018/07/07/cvs.html
90 Upvotes

103 comments sorted by

View all comments

30

u/pebabom Jul 08 '18

My company still uses CVS... I hate it with a passion.

18

u/max630 Jul 09 '18

git has a nice feature: you can use it regardless of what the rest of the project uses. For some vcs'es there are special tools to integrate, but you can do it even without them

5

u/the_gnarts Jul 09 '18

git has a nice feature: you can use it regardless of what the rest of the project uses. For some vcs'es there are special tools to integrate, but you can do it even without them

YMMV though. git-svn is a pain to work with and will break all the time. Not sure if the CVS wrappers are any less fragile.

→ More replies (5)
→ More replies (6)

12

u/raevnos Jul 09 '18

My first job used RCS. That was fun.

16

u/h_lehmann Jul 09 '18

Pikers. I started out having to use Microsoft's Source Safe. It was an abomination that tended to randomly corrupt your entire code base with no warning.

21

u/lurgi Jul 09 '18 edited Jul 09 '18

True fact: Everyone I know who used Source Safe has a "destroyed the code base" story. Perforce, Clearcae, git, mercurial have their problems, but I don't hear "ate the repo" stories from them. That's unique to Source Safe.

7

u/heisgone Jul 09 '18

The most fun was that if you no longer had access to the computer that was used to lock a file, there was no reliable way to unlock it. Clearcase was also an unmitigated horror to use.

7

u/masklinn Jul 09 '18

The most fun was that if you no longer had access to the computer that was used to lock a file, there was no reliable way to unlock it.

Pretty sure you needed an administrator-credentialed user to release the lock, and the user who'd gone on holidays with locked files would have a good fun time trying to resync their local copy with the remote (== would usually give up, delete everything and re-checkout).

An other fun thing few people know about is that VSS (at least the versions I used) could "unlocked" checkout (similar to SVN). It didn't work well and the UI integration was absolutely garbage, but it existed.

4

u/mdatwood Jul 09 '18

True fact: Everyone I know who used Source Safe has a "destroyed the code base story".

Can confirm. VSS had a fun bug that if the disk filled up, the entire repo would become corrupted. Disks were much smaller in the 90s so filling one was not hard to do. I'm not sure if that bug was ever fixed.

→ More replies (1)
→ More replies (1)
→ More replies (1)
→ More replies (1)

5

u/pezezin Jul 09 '18

Some years ago I worked on a project where the client insisted on using Dropbox to share code. Four years later only one member of the original team remained, and were building a new team. They hired me, and my first task was to move all the code to Git. They had been working four fucking years without version control.

0

u/[deleted] Jul 09 '18

[deleted]

4

u/evaned Jul 09 '18 edited Jul 09 '18

Git (2005), SVN (2004) and Mercurial (2005-2006) all came out within a short period of time.

I've been surprised by this before. I'm astonished that Subversion was released so recently. I was in college in '04, and I used it in college, and it felt like a mature tool at the time.

I think part of my surprise might be what you're using as "zero year." 2004 was SVN's 1.0 release, but it was started in 2000 and apparently self-hosting in 2001. And while I can totally understand a company not wanting to use 0.7 or whatever of a VCS system, SVN was much better than no version control well before the 1.0 release.

2

u/pezezin Jul 11 '18

These people didn't even had a shared file storage. Every programmer coded on his own machine, and then the sync'ed all the changes by hand. They didn't even have a consistent numbering schemes, so their releases and backups where of the form "$SOFTWARE-2.0-final-for-distribution-update-bugfix-this-time-is-the-good-one".

17

u/RobLoach Jul 09 '18

Oh god. Fix that... Just switch everything to git, add some docs, write a memo, and when people ask about it, respond with "We use git now, did you receive the memo and read the docs?"

43

u/[deleted] Jul 09 '18

That’s not allowed in big organizations. Highly-paid low-knowledge managers who don’t have to use CVS and can’t find a way to pay for git will shoot you down.

24

u/krum Jul 09 '18

Tell them they’re not paying for CVS and they need to switch to Perforce. After a couple of years of paying for Perforce they’ll be begging you to switch to something free.

27

u/[deleted] Jul 09 '18

That was based on a true story. My old insurance company used nothing basically for Java builds and when someone introduced Ant, the Change Management people insisted it be removed as it had no support contract.

39

u/NoMoreNicksLeft Jul 09 '18

We made our carpenters get rid of the hammers. Hammers have no support contract. Now they use rocks (or foreheads) to bang in nails, the way God intended.

7

u/[deleted] Jul 09 '18

You can see why I left.

3

u/artee Jul 09 '18

This is not how it works.

As a manager, you are only worth something if what your department does involves expensive software, which someone needs to babysit, running on expensive servers, because this class of software tends to be enterprisy (and that is seen as a feature, not a bug).

→ More replies (1)

8

u/Console-DOT-N00b Jul 09 '18

Tell them you know a similar manager who managed a switch to git and he put it on his resume and now he can't handle all the unsolicited offers he is getting for crazy money....

6

u/cowinabadplace Jul 09 '18

Do they have a UI or something? You can use Git the tool with just a Linux VM with a backup system. Authentication can go through whatever you already use to SSH or whatever.

It's GitHub/Gitlab that you'd pay for.

But I do understand. If CVS access and functionality is maintained by some group in your company, it is often safer to just stick with it than to push for a change. I'd say it's time to leave at that point, though.

No modern dev should find themselves unable to use a DVCS

→ More replies (1)

9

u/Don_Andy Jul 09 '18

Just switch everything to git

If you expect people who have been working with CVS for decades to suddenly adjust to git overnight you're going to have a very bad time.

Source: We're currently switching from CVS to git.

4

u/Alan_Shutko Jul 09 '18

It gets better. We had a couple months of trouble for the early adopters, but after that enough people started to understand things they made it easier to support others as they switched. Building a Jenkins job people could invoke with params which did a one-click migration with history helped, too.

→ More replies (2)

7

u/OzmodiarTheGreat Jul 09 '18

Or SVN if you don’t need something distributed.

→ More replies (2)