NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
From CVS to Git, thirty years of source control (evilgeniuslabs.ca)
zabzonk 48 minutes ago [-]
I sometimes wonder what would have happened if Atlassian had stuck with Mercurial support on Bitbucket - I don't think they can pretend that switching to git did very much for them. I love(d) Mercurial, and particularly TortoiseHg integration on Windows.
eesmith 37 minutes ago [-]
If they had, I wouldn't have switched to Sourcehut, at least not for a while.

Though at some point I would have realized that Atlassian was the wrong fit for my needs as a single-dev, no-AI project and switched.

dn3500 38 minutes ago [-]
There were several proprietary systems in the late 1980s and early 1990s. The one I remember was DSEE from Apollo Computer. It was integrated with the file system such that commits and branches worked like zfs snapshots. You could just "cd" to whatever tag, branch, or individual commit you wanted. No checkouts required. Very cool, I wish we still had that today. DSEE was spun off as Clearcase, acquired by IBM, then I don't know what happened to it after that.
ktpsns 28 minutes ago [-]
That sounds awesome. A bit like plan9 philosophy "everything is a file". I wonder whether one could implement something like this with fuse+git (gitfs doesnt allow this, cf https://gitfs.readthedocs.io/en/stable/mount_options/)
myaccountonhn 15 minutes ago [-]
With a thin layer of tooling, you could probably build a zfs CVS very easily. There's zfs send and each version is available under .zfs so you could use the patch/diff tool to see different versions and restore to older versions.
wvhulle 20 minutes ago [-]
Sounds like the “jj edit” command.
binaryturtle 1 hours ago [-]
I use Subversion w/o a server too. You can have your repositories locally (file:///Path/to/repository). All my own (single man) projects are in local SVN repositories. For my use case git is just too much extra friction, and I still love to have my one single unique global revisions number that is linearly increasing with each commit. :)
raverbashing 1 minutes ago [-]
Yes but the .svn dirs everywhere keep being annoying
ktpsns 30 minutes ago [-]
I loved the simple increasing numbers of Subversion. This was better then CVS "ad-hoc" versioning and also far better then git's hashes. Single numbers are easy for humans. I would love git would make it possible to work that way (there is one way: `git describe` can show something like "v1.0.4-14-g2414721" which means "14 commits ahead of tag v1.0.4".)
usrusr 12 minutes ago [-]
Some form of "increment authority" that simply appends to a list of hashes whenever it encounters a commit not yet on the list? Then you could use URI like $authorityhost/orderedcommits/$number as synonyms for the hashes. Multiple increment authorities would not necessarily have them in the exact same order (and "current latest" would likely differ by an order of magnitude or two after some time if you ever had multiple authorities), but it would still provide a lot of intuitive understanding.

I wonder how the tag mechanism would perform if you just burned it with this content. I suspect that it would not perform well...

TeriyakiBomb 31 minutes ago [-]
Reading this as someone in the process of migrating several projects to Fossil, interesting to see no mention of it all

A great article though!

KingOfCoders 31 minutes ago [-]
My first contact was VMS with its versioning file system. Then RCS - before that we copied zip files around.
zabzonk 19 minutes ago [-]
I was convinced that VMS's versioned files thing was DEC's cunning plan to sell more disk drive space (though I didn't and still don't know what the underlying mechanism was) - I was quite glad when I learned how to turn it off, though.
anthk 15 minutes ago [-]
Fossil deserves a chance compared to Git, even more in Rust times.
oblio 51 minutes ago [-]
Fairly accurate in my experience.

Also a note about a specific bias from old-heads:

At the start things move much faster and changes are more impactful, but the start is ultimately much shorter than the rest of the lifecycle. That's why a lot of the stories you read about tech are about the early years (let's say 5-10 years, chronologically) and less so about the mature years (which can span 3+ decades, chronologically). So the early period has outsized visibility because it's cooler, I guess?

* * *

Using SCMs as an example:

SSCS - 1972. But at that point there was no internet and the number of computer users was minuscule. So SCCS is just a curiousity, a footnote, probably used by 0.000001% of Git users. So at this point for most practitioners SCMs basically don't exist.

RCS - 1982. See SCCS. SCMs still practically don't exist for most practitioners.

CVS - 1986. Now the internet is getting started and the number of computers in the world has increased by orders of magnitude. Even so, adoption of core development technologies like SCMs is slow and yes, it took CVS at least 10 years to become somewhat established. Even at this point, probably at least 50% of software developers still don't use SCMs (especially less professional ones). Visual Source Safe runs in parallel to CVS, with its own problems described in the article.

SVN - 2000. The internet is in full swing, computers are ubiquitous, things are really moving. It's super hard to evaluate how many developers still don't use SCMs, but the number is going down (maybe 30-40%?) and SVN is taking the world by storm. Even after the launch of Git in 2005, until at least 2009-2010, SVN had a solid shot at winning. It's tooling was much better, especially the GUIs, TortoiseSVN & co.

Git - 2005. Git is launched in roughly the same era as SVN, just towards the end. Once Github gets going it starts to take over the SCM scape, primarily from SVN, sometimes from CVS, Perforce, and also from non-SCM people.

So, if you look at the real dates implied above: CVS, SVN, Git are widely adopted in about a 10-12 year span (something like 1998-2000 to 2008-2010). Then we reach the current mature (monoculture?) stage where we're already at least 16 years in and it's quite likely this phase will last decades.

This story has happened for lots of tech. Many different PC OSes during the 1970-1980s, then basically only 3 since about 30 years - 1995 (Windows, MacOS, Linux).

Many CPU architectures during the 1970-1980s, then basically only 2 since about 30 years (x86, ARM - maaaaybe RISC-V).

raverbashing 40 minutes ago [-]
Nice summary

More than technologies, what really evolved were the ideas on how to work and manage SCM systems. Things like atomic multi-file commits, using unified diffs, management by "patch queues" more than simply merging branches ad-hoc, and of course decentralized SCMs

hnarayanan 54 minutes ago [-]
Where are my RCS people at?
somat 7 minutes ago [-]
The nostalgia hits hard.

I have a silly little wiki engine I made 20 years ago. It was an exercise in trying to better learn the traditional unix text processing tools. So the page templates were in m4, sed and awk did their traditional heavy lifting for request parsing and page generation. and page history was provided by rcs. Which fit better than cvs because it provides a history per file.

https://nl1.outband.net/fossil/gami/file?name=bin/save_node&...

raverbashing 42 minutes ago [-]
In a retirement home? /s
voxadam 28 minutes ago [-]
Where does that leave the SCCS people?
zabzonk 17 minutes ago [-]
Killed themselves after using it for fifteen minutes. I used to have to teach a commercial "Intro to Unix" course which had a section on SCCS - shudder!
voxadam 14 minutes ago [-]
I've never actually used SCCS was it that bad? I'd have thought that alcoholism would have been enough to numb the pain.
zabzonk 5 minutes ago [-]
> was it that bad?

I don't know - RCS just made more sense to me. And I really disliked RCS. You know some things are bad when something like CVS seems all warm and cuddly in comparison.

> I'd have thought that alcoholism would have been enough to numb the pain.

You may be right - it would certainly explain some aspects of my life since those days ;)

lysace 53 minutes ago [-]
The slow-branch problem, where the team avoided branching because it took five minutes to create one and an afternoon to merge it.

I kind of "enjoyed" this aspect of CVS (for small teams, at least) since it strongly encouraged trunk based development.

sgbeal 1 hours ago [-]
Web design tip: don't have animations within a short distance of text, as human eyes evolved to follow the flashiest/fastest-moving thing around, which makes such text literally illegible to many of us. This particular site takes the cake in that regard by animating the whole page background.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 10:21:18 GMT+0000 (Coordinated Universal Time) with Vercel.