News for hackers. Stuff that matters.
Re:How Microsoft Office Moved from Source Depot to Git by codeulike on Thursday June 12, 2025 @04:04AM (#44255180)
We used it. We knew no better. It was different then, you might not hear about alternatives unless you went looking for them. Source Safe was integrated with Visual Studio so was an obvious choice for small teams.

Get this; if you wanted to change a file you had to check it out. It was then locked and no-one else could change it. Files were literally read only on your machine unless you checked them out. The 'one at a time please' approach to Source Control (the other approach being 'lets figure out how to merge this later')

Re:How Microsoft Office Moved from Source Depot to Git by namdnay on Thursday June 12, 2025 @05:11AM (#44255541)
I remember a big commercial SCM at the time that had this as an option, when you wanted to make sure you wouldn’t need to merge. Can’t remember what it was called, you could “sync to file system” a bit like dropbox and it required teams of full time admins to build releases and cut branches and stuff . Think it was bought by IBM?
Re:How Microsoft Office Moved from Source Depot to Git by robin_reala on Thursday June 12, 2025 @07:37AM (#44256456)
I guess you’re talking about Rational Rose? I had the misfortune of using that at my first industry job (fintech in 2004).
Re:How Microsoft Office Moved from Source Depot to Git by meepmorp on Thursday June 12, 2025 @04:05PM (#44262544)
Rose is a UML modeling tool
Re:How Microsoft Office Moved from Source Depot to Git by robin_reala on Thursday June 12, 2025 @05:11PM (#44263247)
Oops, it was ClearCase that was Rational’s SCM: https://en.wikipedia.org/wiki/IBM_DevOps_Code_ClearCase
Re:How Microsoft Office Moved from Source Depot to Git by becurious on Thursday June 12, 2025 @11:45AM (#44259093)
ClearCase?
Re:How Microsoft Office Moved from Source Depot to Git by rswail on Thursday June 12, 2025 @05:18AM (#44255581)
Which is exactly how CVS (and its predecessors RCS and SCCS) worked.

They were file based revision control, not repository based.

SVN added folders like trunk/branches/tags that overlaid the file based versioning by basically creating copies of the files under each folder.

Which is why branch creation/merging was such a complicated process, because if any of the files didn't merge, you had a half merged branch source and a half merged branch destination that you had to roll back.

Re:How Microsoft Office Moved from Source Depot to Git by umanwizard on Thursday June 12, 2025 @08:00AM (#44256694)
I am quite sure that you can edit files in an svn repo to your heart’s content regardless of whether anyone else is editing them on their machine at the same time.
Re:How Microsoft Office Moved from Source Depot to Git by masklinn on Thursday June 12, 2025 @10:27AM (#44258224)
Yep, svn has a lock feature but it is opt-in per file (possibly filetype?)

A pretty good tradeoff, because you can set it on complex structured files (e.g. PSDs and the like) to avoid the ballache of getting a conflict in an unmergeable file but it does not block code edition.

And importantly anyone can steal locks by default. So a colleague forgetting to unlock and going on holidays does not require finding a repo admin.

Re:How Microsoft Office Moved from Source Depot to Git by fanf2 on Thursday June 12, 2025 @05:46AM (#44255737)
CVS was called the “concurrent version system” because it did not lock files on checkout. Nor did svn. Perforce does.
Re:How Microsoft Office Moved from Source Depot to Git by rswail on Thursday June 12, 2025 @09:58AM (#44257899)
True dat, my mistake. That was its major feature, from memory though it still used the same reversed diff file format?
Re:How Microsoft Office Moved from Source Depot to Git by ack_complete on Thursday June 12, 2025 @10:33AM (#44258276)
Perforce does not lock files on checkout unless you have the file specifically configured to enforce exclusive locking in the file's metadata or depot typemap.
Re:How Microsoft Office Moved from Source Depot to Git by pjc50 on Thursday June 12, 2025 @05:43AM (#44255726)
The lock approach is still used in IC design for some of the Cadence/Synopsis data files which are unmergable binaries. Not precisely sure of the details but I've heard it from other parts of the org.
Re:How Microsoft Office Moved from Source Depot to Git by dagw on Thursday June 12, 2025 @08:21AM (#44256906)
A lot of engineering is the same. You cannot diff and merge CAD files, so you lock them.
Re:How Microsoft Office Moved from Source Depot to Git by malkia on Thursday June 12, 2025 @11:10AM (#44258723)
Similar in video game shops - lots of binary files, or even huge (non-editable by human) text ones.
Re:How Microsoft Office Moved from Source Depot to Git by Disposal8433 on Thursday June 12, 2025 @07:15AM (#44256299)
The file lock was a fun feature when a developer forgot to unlock it and went on holidays. Don't forget the black hole feature that made files randomly disappear for no reason. It may have been the worst piece of software I have ever used.