Version Control

Category: /blog /programmer
Tags: programmer

在计算机世界的”old golden time”里面好象只有美好回忆, 从来没什么完美软件. 一个软件限于当时的软硬件及网络环境, 总是在实现上有各种限制. 然后就是不停地升级, 或者人在相同的概念上开发出新的软件. Version control software就是这样一个例子. 我最早接触version control还是用的是MS SourceSafe. 从那里我学会了 check-in/check-out的概念. 后来离开了微软的盗版世界, 我就不记得SourceSafe了. 另一个原因是我听说微软内部都不用SourceSafe, 你自己都做不到”eating your own dog food”, 还指望有什么忠实用户么?

[TOC]

常用命令

Subversion (SVN)

The big three in DVCS

Linus Torvalds on git at Google talk 这家伙也忒不厚道了.

“I hate it with a passion (CVS).”

“If there are any Subversion or CVS users out there in the audience, you might want to leave.”

“I see Subversion as the most pointless project ever started.”

“I’m not going force you to switch over to decentralized, I just call you ugly and stupid!”

“…the designers of Subversion were complete morons”. Strong opinions, that’s me! […] Your stupid!.

“Merging in Subversion is a complete disaster! The Subversion people kind of acknowledge this and they have a plan and their plan sucks too. It is incredible how stupid these people are!”

“I would never ever trust Google to maintain my sourcecode for me. I’m sorry. You’re just not that trustworthy. (Google code uses Subversion)”. The talk was held at Google :)

关于CVS的回忆

来到美国后最早用的是CVS. 那时用的是系里CVS server, 到现在只记得一个字儿–“难”. 其实CVS的评价不应该这么低. 只是那时候几个原因都赶上了.

  • 俺刚到美国学计算机, 英文还不灵光, 大篇的技术文档都看不懂
  • 刚学Solaris还不怎么会用, 系里管制也很多, 从微软的GUI到命令行CLI真是”由奢返简难”啊
  • 自己学Linux也是有一搭无一搭, 连个server都玩不转, 整天kernel panic, 都顾不上在自己的机器上整个CVS.

后来买了这本书啃了几天, 基本命令就都会使了. 学了CVS对我的帮助是我有了一些基本概念. 以后的诸多版本控制软件都拿CVS当靶子, 主要是SVN, 我知道人家说得到底是怎么回事, 有没有道理. 到后来SVN成为别人的靶子也是同样一回事.

资源

讨论

提示

  • 如果看不到讨论部分, 请暂时关掉adblock in Firefox/Chrome
  • 本网站使用Javascript实现评论功能, 此处外链对提高您的网站PR没有帮助. (潜台词: 请不要灌水, 谢谢)