O'Reilly logo

bash Cookbook by Cameron Newham, JP Vossen, Carl Albing

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Subversion

According to the Subversion web site, "The goal of the Subversion project is to build a version control system that is a compelling replacement for CVS in the open source community." Enough said.

Pros

  • Newer than CVS and RCS.

  • Simpler and arguably easier to understand and use than CVS (less historical baggage).

  • Atomic commits means the commit either fails or succeeds as a whole, and makes it easy to track the state of an entire project as a single revision.

  • Easy to access remote repositories.

  • Allows easy renaming of files and directories while retaining history.

  • Easily handles binary files (no native diff support) and other objects such as symbolic links.

  • Central repository hacking is more officially supported, but less trivial.

Cons

  • Not 100 percent CVS compatible for more complicated projects (e.g., branching and tagging).

  • Can be more complicated to build or install from scratch due to many dependencies. Use the version that came with your operating system if possible.

Tip

SVN tracks revisions by repository, which means that each commit has its own internal SVN revision number. Thus consecutive commits by a single person may not have consecutive revision numbers since the global repository revision is incremented as other changes (possibly to other projects) are committed by other people.

Example

This example is not suitable for enterprise or multiuser access (see the "More Resources" section in the Preface). This is just to show how easy the basics are. This example also has the EDITOR ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required