@hackage darcs2.14.3

a distributed, interactive, smart revision control system

  • Installation

    Custom

  • Dependencies (42)

  • Dependents (6)

    @hackage/darcsden, @hackage/darcs-fastconvert, @hackage/DPM, @hackage/acme-everything, @hackage/darcs2dot, @hackage/ipatch
  • Package Flags

      curl
       (on by default)

      Use libcurl for HTTP support.

      pkgconfig
       (off by default)

      Use pkgconfig to configure libcurl

      static
       (off by default)

      Build static binary

      terminfo
       (on by default)

      Use the terminfo package for enhanced console support.

      threaded
       (on by default)

      Use threading and SMP support.

      executable
       (on by default)

      Build darcs executable

      rts
       (off by default)
      warn-as-error
       (off by default)

      Build with warnings-as-errors

Darcs

Darcs is a distributed version control system written in Haskell.

Getting started

Compiling

Build instructions are available at http://darcs.net/Binaries but they may not be up-to-date.

Here is a quick run down. The easiest way to build darcs is by using cabal-install version 3.2 or later. A plain

cabal build

should work out of the box with any ghc-8.x version. You may see some cabal warnings. Ignore them. If you want to run the tests, you need

cabal build --enable-tests

This can be made permanent by using

cabal configure --enable-tests

before building, which is useful mainly for development. Or you can combine building and testing:

cabal test --test-show-details=streaming

You can also run

cabal install

to install the library and the executable.

Using

To clone a repository from HTTP and send patches by mail:

$ darcs clone --lazy http://darcs.net
$ (edit files)
$ darcs add (new files)
$ darcs record -m "my changes"
$ darcs send

To clone from SSH and push patches:

$ darcs clone user@hub.darcs.net:user/repo
$ (edit files)
$ darcs add (new files)
$ darcs record -m "my changes"
$ darcs push

To create a project and start working:

$ darcs init (project)
$ cd (project)
$ (add files)
$ darcs add (files)
$ darcs record -m "initial version"

See http://darcs.net/Using for more information.

Reporting bugs

Please send bug reports to bugs@darcs.net.

Hacking

Please consult http://darcs.net/Development/GettingStarted for up-to-date information about contributing to Darcs.

The wiki can be downloaded with the command:

$ darcs clone --lazy http://darcs.net/darcs-wiki