Apache Subversion Explained

Subversion
Apache Subversion
Author:CollabNet
Developer:Apache Software Foundation
Ver Layout:stacked
Programming Language:C
Genre:Revision control
License:Apache-2.0

Apache Subversion (often abbreviated SVN, after its command name svn) is a version control system distributed as open source under the Apache License.[1] Software developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly compatible successor to the widely used Concurrent Versions System (CVS).

The open source community has used Subversion widely: for example, in projects such as Apache Software Foundation, FreeBSD, SourceForge, and from 2006 to 2019, GCC. CodePlex was previously a common host for Subversion repositories.

Subversion was created by CollabNet Inc. in 2000, and is now a top-level Apache project being built and used by a global community of contributors.[2]

History

CollabNet founded the Subversion project in 2000 as an effort to write an open-source version-control system which operated much like CVS but which fixed the bugs and supplied some features missing in CVS. By 2001, Subversion had advanced sufficiently to host its own source code,[3] and in February 2004, version 1.0 was released.[4] In November 2009, Subversion was accepted into Apache Incubator: this marked the beginning of the process to become a standard top-level Apache project.[5] It became a top-level Apache project on February 17, 2010.[6]

VersionOriginal release dateLatest versionLatest release dateStatus
2004-02-231.0.92004-10-13No longer supported
2004-09-29[7] 1.1.42005-04-01No longer supported
2005-05-21[8] 1.2.32005-08-19No longer supported
2005-12-30[9] 1.3.22006-05-23No longer supported
2006-09-10[10] 1.4.62007-12-21No longer supported
2008-06-19[11] 1.5.92010-12-06No longer supported
2009-03-20[12] 1.6.232013-05-30No longer supported
2011-10-11[13] 1.7.222015-08-12No longer supported
2013-06-18[14] 1.8.192017-08-10No longer supported
2015-08-05[15] 1.9.122019-07-24No longer supported
2018-04-13[16] 1.10.82022-04-12No longer supported
2018-10-30[17] 1.11.12019-01-11No longer supported
2019-04-24[18] 1.12.22019-07-24No longer supported
2019-10-30[19] 1.13.02019-10-30No longer supported
2020-05-27[20] 1.14.32023-12-20Fully supported, LTS
2024-0x1.15.0(Not yet released)In development

Release dates are extracted from Apache Subversion's file,[21] which records all release history.

Features

Repository types

Subversion offers two types of repository storage.

Berkeley DB (deprecated)

The original development of Subversion used the Berkeley DB package.Subversion has some limitations with Berkeley DB usage when a program that accesses the database crashes or terminates forcibly. No data loss or corruption occurs, but the repository remains offline while Berkeley DB replays the journal and cleans up any outstanding locks. The safest way to use Subversion with a Berkeley DB repository involves a single server-process running as one user (instead of through a shared filesystem).[22] The Berkeley DB backend was deprecated in version 1.8.[23]

FSFS

In 2004, a new storage subsystem was developed and named FSFS.It works faster than the Berkeley DB backend on directories with a large number of files and takes less disk space,due to less logging.[22]

Beginning with Subversion 1.2, FSFS became the default data store for new repositories.

The etymology of "FSFS" is based on Subversion's use of the term "filesystem" for its repository storage system.FSFS stores its contents directly within the operating system's filesystem, rather than a structured system like Berkeley DB.Thus, it is a "[Subversion] FileSystem atop the FileSystem".

FSX

A new filesystem, called FSX, is under development to remove some limitations of FSFS. As of Version 1.9, it was not considered production-ready.[24]

Repository access

See main article: Comparison of Subversion clients. Access to Subversion repositories can take place by:

  1. Local filesystem or network filesystem,[25] accessed by client directly. This mode uses the access scheme.
  2. WebDAV/Delta-V (over http or https) using the module for Apache 2. This mode uses the

Notes and References

  1. Web site: 2020 . Subversion . 3 October 2023 . directory.fsf.org . . en-US.
  2. 2020-02-27 . The Apache Software Foundation Announces 20th Anniversary of Apache Subversion . 2023-01-29 . GlobeNewswire News Room . en.
  3. Web site: What is Subversion? > Subversion's History . Version Control with Subversion (for Subversion 1.7) . Collins-Sussman, Ben . Brian W. Fitzpatrick . C. Michael Pilato . 2011 . 15 March 2012.
  4. Web site: subversion 1.0 is released . Linux Weekly News . Benjamin Zeiss . 2004 . 30 March 2014.
  5. Web site: Subversion joins forces with Apache . Rubinstein, David . SD Times . 4 November 2009 . 15 March 2012 . https://web.archive.org/web/20091111000653/http://www.sdtimes.com/SUBVERSION_JOINS_FORCES_WITH_APACHE/By_David_Rubinstein/About_APACHE_and_SUBVERSION/33886 . 2009-11-11.
  6. Web site: Subversion is now Apache Subversion . https://web.archive.org/web/20110512171259/http://subversion.wandisco.com/component/content/article/1/43.html . 12 May 2011 . 18 February 2010 . 15 March 2012.
  7. Web site: Subversion 1.1 Release Notes . 2015-09-21.
  8. Web site: Subversion 1.2 Release Notes . 2015-09-21.
  9. Web site: Subversion 1.3 Release Notes . 2015-09-21.
  10. Web site: Subversion 1.4 Release Notes . 2015-09-21.
  11. Web site: Subversion 1.5 Release Notes . 2015-09-21.
  12. Web site: Apache Subversion 1.6 Release Notes . 2015-09-21.
  13. Web site: Apache Subversion 1.7 Release Notes . 2015-09-21.
  14. Web site: Apache Subversion 1.8 Release Notes . 2015-09-21.
  15. Web site: Apache Subversion 1.9 Release Notes . 2015-09-21.
  16. Web site: Apache Subversion 1.10 Release Notes . 2018-04-17.
  17. Web site: Apache Subversion 1.11 Release Notes . 2018-10-31.
  18. Web site: Apache Subversion 1.12 Release Notes . 2019-05-01.
  19. Web site: Apache Subversion 1.13 Release Notes.
  20. Web site: Apache Subversion 1.14 LTS Release Notes. 2020-06-02. subversion.apache.org.
  21. Web site: Apache Subversion's CHANGES file . 2018-10-31.
  22. Book: Ben Collins-Sussman . Brian W. Fitzpatrick . C. Michael Pilato . Version Control with Subversion: For Subversion 1.7 . 2011 . Chapter 5: Strategies for Repository Deployment . O'Reilly.
  23. Web site: Apache Subversion 1.8 Release Notes . Apache Project . 5 May 2020.
  24. Web site: Apache Subversion 1.9 Release Notes.
  25. [Berkeley DB]