encyclopegia.org

Darcs

Darcs is a distributed version control system created by David Roundy.[src] Key features include the ability to choose which changes to accept from other repositories, interaction with either other local (on-disk) repositories or remote repositories via SSH, HTTP, or email, and an unusually interactive interface.[src] The developers also emphasize the use of advanced software tools for verifying correctness: the expressive type system of the functional programming language Haskell enforces some properties, and randomized testing via QuickCheck verifies many others.[src] The name is a recursive acronym for Darcs Advanced Revision Control System.[src]

Darcs is a distributed version control system created by David Roundy.[src] Key features include the ability to choose which changes to accept from other repositories, interaction with either other local (on-disk) repositories or remote repositories via SSH, HTTP, or email, and an unusually interactive interface.[src] The developers also emphasize the use of advanced software tools for verifying correctness: the expressive type system of the functional programming language Haskell enforces some properties, and randomized testing via QuickCheck verifies many others.[src] The name is a recursive acronym for Darcs Advanced Revision Control System.[src] ==Model== Darcs treats patches as first-class citizens.[src] For the user, a repository can be seen as a set of patches, where each patch is not necessarily ordered with respect to other patches, i.e.[src] the set of patches is only a partially ordered set.[src] In many cases patches can be independently transmitted between various repositories.[src] Many branching, merging, and cherry-picking operations that would require additional commands with snapshot-based systems like Git or Mercurial can be directly done with Darcs with the usual "pull" and "push" commands.[src] In terms of user interface, this means that Darcs has fewer commands.[src] These commands are more interactive: one can choose more precisely which patches they want to exchange with remote repositories.[src] The patches of a repository are linearly ordered.[src] Darcs automatically calculates whether patches can be reordered (an operation called commutation), and how to do it.[src] These calculations implement a so-called "patch theory".[src] A Darcs patch can contain changes of the following kinds: line changes, file and directory creation and deletion, file and directory moving, word substitution (typically used in code refactoring, for instance rename all occurrences of "foo" to "bar" in a given file).[src] The notion of dependency between patches is defined syntactically.[src] Intuitively, a patch B depends on another patch A if A provides the content that B modifies.[src] This means that patches that modify different parts of the code are considered, by default, independent.[src] To address cases when this is not desirable, Darcs enables the user to specify explicit dependencies between patches.[src] Since version 2.10, Darcs uses patience diff by default.[src] ==History== Darcs evolved out of David Roundy's efforts to design a new patch format for GNU arch in June 2002.[src] These discussions didn't lead to any code being committed to Arch, but did lead to the conception of the theory of patches.[src] After writing an initial version of Darcs in C++, the Haskell version was written in Autumn 2002 and released to the public in April 2003.[src] Darcs 2.0 was released in April 2008 and introduced a more robust repository format, as well as a new patch semantic called "darcs-2", aimed at minimizing exponential merge conflicts.[src] The current development strategy focuses on implementing optimizations and adding new features, while maintaining the same repository format.[src] ==Shortcomings== Darcs has been criticized for its performance issues.[src] This includes challenges related to the merge algorithms of Darcs 1.x, which showed exponential work to merge certain conflicts.[src] Although not resolved completely in the subsequent versions of Darcs, the frequency of exponential merges did show noticeable reductions.[src] Bugs still remain in which merging of recursive conflicts fails.[src] ==See also== Comparison of version control software ==References== ==External links==[src]

34 sentences · 34 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Darcs." encyclopegia.org, 2026, https://encyclopegia.org/wiki/darcs. Accessed 25 November 2026.

Chicago

"Darcs." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/darcs.

APA

encyclopegia.org. (2026). Darcs. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/darcs

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2003Wikipedia
release date2008Wikipedia
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1360645633 · 0.5 · snapshot enwiki-001360645633

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.