notes

Personal notes
git clone git://git.laack.co/notes.git
Log | Files | Refs

Darcs.md (683B)


      1 # Darcs
      2 
      3 **Source:** [https://darcsbook.acmelabs.space/chapter01.html](https://darcsbook.acmelabs.space/chapter01.html)
      4 
      5 **Definition:** Darcs is a distributed version control system based on the theory of patches.
      6 
      7 ## Why?
      8 
      9 Darcs is quite nice to use because it makes sense. A repository is just a set of changes. This is not true with git where ordering matters, but such a stipulation feels rather arbitrary.
     10 
     11 ### Commutation
     12 
     13 If there are two patches A and B that both create disjoint files, the order of their application doesn't impact the final state we are in. This is called commutation. This is to say, A(B(x)) = B(A(x)).
     14 
     15 ### Commands
     16 
     17 - log
     18 - rollback
     19 - init
     20 - record
     21 -