On projects and their goals
On projects and their goals
Posted Apr 6, 2010 4:12 UTC (Tue) by lambda (subscriber, #40735)In reply to: On projects and their goals by neilbrown
Parent article: On projects and their goals
Actually, you can't really "obliterate" in Subversion (or any other centralized VCS) either. People can still have checkouts of old versions on their machine. I can't be the only person who, due to various limitations of Subversion (such as lack of "git stash" functionality, and how slow it is to switch between branches), would frequently have several checkouts at once, along with a directory full of patches that might not be ready to apply yet, or might be an idea that never went anywhere that I might try to revive later. And some of those checkouts would eventually go stale, perhaps for years. Unless you have some way of tracking what developers have checked out on their machines, you can't really obliterate old revisions any better in a centralized system than in a DVCS.
What you can do, in either system, is rewrite the history on the official server copy. Then, in the DVCS, you have people make fresh clones, which won't share history. If people have stale copies on their machine, that's their responsibility; if it's such a liability that you must delete all stale copies, then you will need to have IT come and scan all developers machines for the offending code whether you're using a centralized system or a distributed one.