Revision Control - Distributed Revision Control

Distributed Revision Control

Distributed revision control systems (DRCS) take a peer-to-peer approach, as opposed to the client-server approach of centralized systems. Rather than a single, central repository on which clients synchronize, each peer's working copy of the codebase is a bona-fide repository. Distributed revision control conducts synchronization by exchanging patches (change-sets) from peer to peer. This results in some important differences from a centralized system:

  • No canonical, reference copy of the codebase exists by default; only working copies.
  • Common operations (such as commits, viewing history, and reverting changes) are fast, because there is no need to communicate with a central server.

Rather, communication is only necessary when pushing or pulling changes to or from other peers.

  • Each working copy effectively functions as a remote backup of the codebase and of its change-history, providing inherent protection against data loss.

Read more about this topic:  Revision Control

Famous quotes containing the words distributed and/or control:

    Taking food alone tends to make one hard and coarse. Those accustomed to it must lead a Spartan life if they are not to go downhill. Hermits have observed, if for only this reason, a frugal diet. For it is only in company that eating is done justice; food must be divided and distributed if it is to be well received.
    Walter Benjamin (1892–1940)

    Imagine believing in the control of inflation by curbing the money supply! That is like deciding to stop your dog fouling the sidewalk by plugging up its rear end. It is highly unlikely to succeed, but if it does it kills the hound.
    —Michael D. Stephens. “On Sinai, There’s No Economics,” New York Times (Nov. 13, 1981)