Source Control from Hell (frantic.im)

67 points by emschwartz 5 hours ago

50 comments:

by jimbobimbo 3 hours ago

I think it was the rite of passage in early 2000s to join a company and drive the migration from something like Visual SourceSafe to Subversion and establish a semblance of CI with Jenkins and whatnot.

by kstrauser an hour ago

I joined an org in the early 2010's and they'd just migrated from P4 to Git. Problem was they weren't using any of its git-ness. In particular, their processes required a strict ordering of commits, but in ways that Git doesn't support. Like they insisted on knowing that commit A was made before commit B -- not merged, but committed -- and we went round and round about that. Imagine that you and I are both on airplanes and hacking away, committing our work. It was important For Reasons to know that my work was written before yours, or vise versa. My coworkers were brilliant people in many ways but they jumped through some rather ridiculous hoops to make Git try to look exactly like P4, rather than leaning into its advantages on their own. It drove me nuts. I'm sure my insistence that "this isn't how this works" drove them equally nuts.

by wcoenen 3 hours ago

An unintended consequence: you would then become the de facto "SVN helpdesk" for a few years. Once I helped somebody who was so confused that they had accidentally committed the server side files of a SVN repo (with the Berkeley DB files etc) into another SVN repo.

by kombine 3 hours ago

I joined a company in 2009 and it took me a few months to convince them to move from some proprietary source control to Mercurial. Somehow I couldn't grok Git at a time and I was certain neither could my colleagues. They loved Hg though.

by brightball an hour ago

Mid-2000s I worked for a telco where I was on a team of 3. We would all ssh into a server and depend on vim letting us know if a file was already open to avoid overwriting each other.

Oddly enough, it worked beautifully and we built an AJAX app before jQuery/Prototype that worked cross browser for 10 years before it was retired.

No source control at all. Was a great time.

by edoceo 24 minutes ago

I was there Gandalf.

by hibikir 2 hours ago

I upgraded a poor company using rcs to Mercurial. They were checking out files with locks and everything. People walking to the next floor because someone had locked a third of the codebase. Imagine the jump.

by bartread 2 hours ago

Joined a company in 2004. They used Sourcegear Vault, which was like SourceSafe but without the bugs. I never worried it would lose anything but for whatever reason we still ran it with the exclusive checkout mode which I hated because it just encourages people to checkout whole folders… which can be annoying.

Anyway, yeah, first job was CI, including automated tests which they’d never had before, and which I got done basically straight away.

It took a couple more years to replace source control with subversion, and maybe another year to replace the in-house bug tracker with JIRA (which I still have regrets about; I wanted Bugzilla but the naysayers won and, at the end of the day, JIRA was still a huge improvement).

Still, I think I can legitimately claim credit for being the main driving force behind all of the above, and 100% in the case of CI.

I forget whether it was two or three years I spent as the build engineer alongside my other responsibilities, but we did eventually take someone on full time to do it.

by temporallobe 2 hours ago

I’ve been through quite a few in my career: CVS, Subversion, SCCS, VSS, PVCS, and going way back, ClearCase. None are perfect, but anything is better than a folder-based system. I even wrote a prototype of my own system, also bases on folders, and it sucked. As complex and annoying as Git can be, there’s a damn good reason it’s pretty much the universal standard and I am thankful we landed on it.

by LVB 36 minutes ago

One kind of neat tech in Clearcase was how it could copy derived objects (eg obj files) from someone else’s computer if they were built from the same source files, same compiler, options, env vars etc. In an era with hundreds of devices on an office LAN and much longer compile times, it was sometimes useful.

by temporallobe 9 minutes ago

I was absolutely not aware of this feature, but it seems wild by today’s standards that you could reach into someone’s system and access their files. We didn’t use many of the advanced features, as one of the engineers created a set of wrapper commands for common operations (I still remember the commands such as “c co -nc <file>” for “clearcase checkout file with no comment” or something like that). I even still have a vintage ClearCase book somewhere.

by hankbond 30 minutes ago

As someone that started around 2012-2014 I have only ever known Git. I try not to think too hard about a life without formal version control because I find it too stressful.

by ChrisMarshallNY 4 hours ago

Our Japanese factory used to remove hard disks from the build machines (OS, build environment, etc.) and store them in a locked room.

They were still using Perforce, when I left, in 2017.

by dcrazy 3 hours ago

The entire games industry is standardized on Perforce.

by ahartmetz 3 hours ago

That is not crazy. What I know about Perforce: - It's not terrible and generally pretty similar to svn - It has good support for binary assets

by not_a_bot_4sho 3 hours ago

Perforce isn't trendy or sexy but it is well proven.

There are a lot of companies that should be on it, or something like it (not decentralized), but Git is the default that most will settle for.

by gambiting 3 hours ago

I mean, we use perforce in 2026, what's wrong with that? Imho it's the best source control system there is, but I'm very biased.

by ChrisMarshallNY 26 minutes ago

I wasn't saying it was bad; just that they used it.

I like Git, but I feel that Perforce was a better fit, for the way that company worked.

Pretty pricey, though.

by anonzzzies 3 hours ago

Mostly people who used Windows/DOS had that experience. I started on CVS the first job (on a Unix machine) I had begin 90s. I had to work with visual sourcesafe once and yeah, it was a joke. I worked with many companies (all Windows and indeed some Delphi projects) which had a similar or worse 'versioning' (zips with datetime etc) and all got them on cvs. Which sometimes was a bit of a pain as we had to get a unix/linux machine on/offsite for that until later. If companies did not want to use it, our team used it and used bash scripts to generate their weirdness for us end of day.

by pronik 3 hours ago

It's funny how you can pinpoint the location of the story to somewhere in the former Soviet Union just by FAR Manager being used by everyone. Good memories of simpler times.

by cocoa19 3 hours ago

Was that a Russian thing?

FAR Manager author also created WinRAR and that one was used everywhere.

by anonzzzies 3 hours ago

Yeah exactly; we never heard about it until we merged with a Ukraine company who all used it.

by deepsun 3 hours ago

> Then in 2009 I found git.

Well, CVS was around since 1986, surprising author never tried it. It was much better than their shared folder (it was literally created in response to shared folders).

by RHSeeger 2 hours ago

I migrated code from RCS to CVS (big complaints from coworkers about not being able to lock files) to Subversion. Honestly, all of them did their jobs well, for the time. I wouldn't go backwards, but I was happy with each of them when I was using them.

And there was one that mounted the code as a windows drive or directory or something. I forget what that one was.

by tacostakohashi 2 hours ago

You may be thinking of ClearCase.

by ameliaquining 3 hours ago

The article mentions in an aside that the author had briefly tried Subversion (which had mostly displaced CVS by then).

by grandfunction 4 hours ago

Should've started with subversion. Much more palatable than git for an organisation in that state, at that time.

I too started at a place with "copy folders", then sccs, then RCS, then CVS, then SVN, finally git. Git still hurts my brain sometimes

by ajasmin 2 hours ago

I'm still surprised git was able to supplant subversion so thoroughly.

I love git for the local history and tree wrangling power, don't get me wrong. Though, for non-technical or occasional users, the breath of the tool just seems intimidating. Trees with lots of non-diffable binaries also remain git's weak point.

by ianburrell 2 hours ago

Subversion branching, with paths, is worse than Git's with labels. It makes sharing topic branches, working on feature branches, or doing release branches harder. Also, the features like locking are nice for internal use, but Git's distributed model is nicer for open source.

Mercurial (hg) is one that gets overlooked these days. It has similar model to Git, but better UI. If had gotten chosen for Linux kernel, or Bitbucket took off instead of Github, it would have been nicer replacement.

by Dan42 an hour ago

Yeah, back around 2010 I switched our repo from svn. I carefully evaluated git vs hg and found hg to be the superior choice. Far saner DX. And then github happened and all the mindshare went to git.

Ever since git took over, people have been joking about how incomprehensible it is (cue good ol' https://xkcd.com/1597/) but how different it would have been with hg.

But now thankfully we have jj, with basically all the UI goodness of hg, all the speed of git, and even more advanced features on top.

by krior 2 hours ago

I had to use SVN for a couple of years. Such a bad experience compared to git. Every operation taking ages over networks. Unwieldy branch management. Limited functionality. But the worst thing: unreliable transfer of commits between branches. Countless hours spend in merge-hell only for some important changes not to be transferred.

Git may have a unintuitive CLI, but the model behind it is very intuitive once it clicks and I am using it from an IDE anyways.

by mamcx 2 hours ago

Jujutsu make(git) it very nice.

by TeaVMFan 4 hours ago

svn vs git comparison site:

https://svnvsgit.com/

by LaGrange 3 hours ago

Last modified: 2016.

And it kinda shows. I mean, lots of that still holds, some of which matters some of which doesn't (I'd argue permissions _should_ be per repository/branch, for example), but e.g. the usage statistics are unlikely to be anywhere near close to that in 2026.

by comrade1234 3 hours ago

I worked at the beginning of my career in amateur environments, mostly university based, and it was never that bad. We always had some form of source code control. Doing a quick google search and source code control had been around since 1962.

by plorkyeran 2 hours ago

Calling IEBUPDTE a source control system is an extreme stretch. It's basically the patch command for punch cards. SCSS in 1972 is more realistically the original. CVS in 1986 was the first to attempt to solve the problems that multiple developers working on the same codebase on multiple machines would run in to. SCSS and RCS helped you track the history of a file without manual backups, but the experience of collaborating on a file with multiple developers was a lot closer to the file on a network share approach than anything more modern.

by aworks 2 hours ago

In the 80s I took a large team developing commercial flight management computer software from a TI 9000 minicomputer host to VAX/VMS using DEC's new Code Management System . The source code control on the TI was manually swapping big hard drives.

I had Walter Tichy as a professor at Purdue where he developed rcs. This led to an opportunity for me to help introduce modern software engineering and tools to a bunch of EEs. On the other hand, the verification team was larger and smarter than any I worked with since.

by icedchai 3 hours ago

In one of my first jobs out of college, I set up a department of a multi-billion dollar corporation with source control. Other departments used it, just not that one. It was formed from the acquisition of a smaller company that didn't use source control... Not sure how they made it that far without it.

by camtarn 3 hours ago

I am currently working on a project using an industrial product with a source control method from a different plane of hell.

From the outside it actually looks well designed. Each file is versioned, versions have comments, and you can even Confirm versions to e.g. say that you have tested them and approved them for deploy. And the system keeps track of which version of each file is live on the running site.

The difficulty comes when you realise that it's a graphical programming environment so there are no diffs between versions, all users work on a single server so a version might accidentally end up with unrelated changes from multiple users, and there is no way to group changes to multiple files together.

Oh, and files' build properties are unversioned.

And global variables (and there are only global variables) have their own incompatible versioning system.

And everything is stored in a completely proprietary DB instead of as files so you can't even bolt your own version control onto the side.

Oh, and by default the system only keeps the last ten versions, and increasing that leads to trouble because you can't delete anything that's referenced in a past version...

And that's before you even consider branching!

I have no doubt that all of this was revolutionary when the system was first built, presumably some time in the 90s, but right now it's causing me to tear my hair out.

by jason_pomerleau 2 hours ago

My last gig was similar, circa 2012. No source control when I started. 10 engineers. "Checkout" involved declaring to the CTO and engineering team which file you were working on, and grabbing the file from a folder shared directly from the CTO's machine.

One of the engineers convinced them to adopt Subversion shortly after I started. One of my jobs was to handle merges.

Classic ASP. The file naming scheme was based on roman numeral prefixes. Well, not all files. Maybe about half of them. Code was full of thousands of "if customer_id = X, do A, elseif customer_id = Y, do B, else do C". I was the first QA hire. "Can't you just look at the diff and spot bugs that way?"

On my first day (Monday), I opened up Outlook to 1,000 emails. "Hey [IT Guy's First Name], uh, when did you provision my Exchange account?"

[IT Guy]: Friday afternoon, why?

Me (to myself): I've made a huge mistake.

I lasted a year until my first options vested. Forfeited the remainder. I was just a couple of weeks away from going into the on-call rotation, where I could expect to be awoken 2 to 5 times a night to respond to issues.

Started my own firm with 6K proceeds from options sale, and never looked back.

by thecatapps 15 minutes ago

But Tom is a genius!

by moomin 3 hours ago

I kid you not, at (Fortune 500 Company), I only convinced people to use source control by hooking an entire deployment system with approval management to it.

by DASD 2 hours ago

Believe it. More common than you'd think.

by ivanjermakov 2 hours ago

> And you can sync and exchange deltas.

2009? diff was released in 1974. Not a Windows way of thinking I assume.

by forrestthewoods 3 hours ago

Oh I thought this was going to to be about Git.

It’s a shame an entire generation has been raised on Git such that they can’t even imagine a better world.

by destroy-data 2 hours ago

I'm from such generation. Elaborate, please.

by ltbarcly3 3 hours ago

"They were still using the shared folder process many years later. It was crude, it was hellish, and it worked for them just fine."

Well it didn't work for them just fine, they are just bad at their jobs and lack curiosity, joy in what they do, and the ability to learn (probably all 4 are very intimately related). Having spent years dealing with these kinds of people I'm glad AI will replace all of them soon.

I'm reminded of a team at eBay in 2018! that controlled the core web framework for the entire company. If you tried to use any technology they didn't want you to use they would use dirty tricks and politics to try to stop you. It was a complete piece of crap as you might expect, and they had a small army of people working on it full time. When I talked to their senior director of engineering about getting something fixed, he said they were 'in the merge process for the next release'. I offered to send a completed PR they could review, and he said it was too much work because "it would conflict and they were already trying to merge too many changes". I kept asking questions because I couldn't make sense of what he was saying. They apparently didn't understand what a branch was or what 'merge' meant in the context of git and were going file by file merging all the features for the release by hand? What he was trying to explain made so little sense I gave up working with that team and started planning my escape from the company. This was about 6 years after eBay had adopted git and set up an enterprise github installation. Our industry is FULL of people who hate their job, are shockingly bad at it, and maintain their employment via nepotism and running out anyone who seems competent.

by hehbot a minute ago

> I'm glad AI will replace all of them soon

Unfortunately AI will only empower them to belch out bad quality engineering at 100x the pace, and because these people tend to even out their complete technical incompetence and lack of curiosity with smooth talking and politicking, they will be able to push out the actual devs in the room with greater ease than ever before.

by grandfunction 3 hours ago

That's funny. My experience with web developers was that they tended to be obsessed with the shiny new thing rather than, you know, producing something of value to the people using the software.

by hackio65 4 hours ago

How do you purge years of committed config dumps, our repo is mostly generated envoy junk?

Data from: Hacker News, provided by Hacker News (unofficial) API