Questions tagged [darcs]

A distributed source code management system, with a simple command-line UI and precise merging.

Blurb from the Darcs website, http://darcs.net/:

Darcs is a free, open source source code management system.

Distributed

Every user has access to the full command set, removing boundaries between server and client or committer and non-committers.

Interactive

Darcs is easy to learn and efficient to use because it asks you questions in response to simple commands, giving you choices in your work flow. You can choose to record one change in a file, while ignoring another. As you update from upstream, you can review each patch name, even the full "diff" for interesting patches.

Smart

Originally developed by physicist David Roundy, darcs is based on a unique algebra of patches. This smartness lets you respond to changing demands in ways that would otherwise not be possible. For example, learn about spontaneous branches with darcs.

49 questions
68
votes
18 answers

What version-control system is most trivial to set up and use for toy projects?

I teach the third required intro course in a CS department. One of my homework assignments asks students to speed up code they have written for a previous assignment. Factor-of-ten speedups are routine; factors of 100 or 1000 are not unheard of. …
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
34
votes
2 answers

Why darcs instead of git?

Using pure functional languages can have a lot of benefits over using impure imperatives, but low level systems languages will generally allow you to achieve much greater performance, especially when they are imperative because it allows you to…
Tim Matthews
  • 5,031
  • 8
  • 38
  • 45
12
votes
3 answers

Convert Git Repo to Darcs

I would like to move a git repo I have to darcs. I have not been able to find docs or projects that explain how to do this; it looks like most users want to go the other way. In addition, being able to control a git repo from darcs would be cool to.
dcolish
  • 22,727
  • 1
  • 24
  • 25
11
votes
1 answer

How to use the darcs library to query information about patches?

I want to write a Haskell program that queries information about a darcs repository. Instead of invoking the darcs executable and parse the results, I would rather use the darcs library directly. It is said to be "very much work in progress" and to…
10
votes
4 answers

Static web frontend for Git/Mercurial/Darcs

Recently I've found the project git2html: git2html is a simple git web interface. Unlike other web interfaces, git2html does not generate content dynamically: instead of using a CGI script, it generates static HTML pages. My questions is simple. Do…
Rufo El Magufo
  • 686
  • 6
  • 19
9
votes
2 answers

Lightweight Continuous Integration for a centrally Haskell/Darcs toolchain?

I want some simple CI for a small dev setup. Two motivations -- a full build takes some time, and an anticipated testsuite will also take some time. I really would rather not dive headfirst into one of the big players that require a java application…
sclv
  • 38,665
  • 7
  • 99
  • 204
8
votes
4 answers

How to pull one commit at a time from a remote git repository?

I'm trying to set up a darcs mirror of a git repository. I have something that works OK, but there's a significant problem: if I push a whole bunch of commits to the git repo, those commits get merged into a single darcs patchset. I really want to…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
7
votes
2 answers

darcs equivalent for git's submodules?

so yeah just wondering if darcs has anything equivalent to git's submodules. i.e. lets say I have a repo (myapp) and I have a folder in it called mylibrary. mylibrary doesn't really have anything to do with myapp's development, it just has to be…
Chris Bolton
  • 2,878
  • 6
  • 38
  • 57
7
votes
1 answer

How to work around duplicate symbol error when using Yesod and Darcs library?

It seems impossible to use Yesod together with the Darcs library due to a linker problem. I tracked down the problem and need hints to work around it by people familiar with Darcs internals. When using the darcs library in a Yesod application, I get…
6
votes
2 answers

Graphical diff for darcs

I don't feel very comfortable seeing the darcs changes in plain text format, so I've been looking for a tool to display a nice side-by-side comparison of the changes. For the whatsnew I can just use meld, but when I need see the changes already…
fortran
  • 74,053
  • 25
  • 135
  • 175
5
votes
1 answer

How to re-order dependent changes in darcs?

In darcs, what if I want to re-order to the top (or just throw away) a patch which other patches depend on (i.e., change the same file)? In git, I'd simply do a git rebase -i and reorder or throw away some changes; then git…
imz -- Ivan Zakharyaschev
  • 4,921
  • 6
  • 53
  • 104
5
votes
1 answer

What is the proper way to script darcs?

I have a few different darcs repos and I would like to write a script to automatically push changes from these repos at the end of the day. I read at this thread that the "right" way to script darcs is using the library. But here…
cwitte
  • 140
  • 4
5
votes
1 answer

installing darcsden

After making cabal install of the darcsden code I get this message: cabal: The following packages are likely to be broken by the reinstalls: bin-package-db-0.0.0.0 ghc-7.4.1 Use --force-reinstalls if you want to install anyway. How do I get around…
rbarreiro
  • 105
  • 3
4
votes
1 answer

Conflict marking confusion when pulling a deleted file with darcs

My confusion arises from the following statement taken from here: When pulling patches that conflict each other (e.g., change the same part of the file) Darcs detects the conflict and marks it in the repository content. It then lets the user…
davetapley
  • 17,000
  • 12
  • 60
  • 86
4
votes
2 answers

Convert darcs repos to git with multiple branches

Is there a way to convert a darcs project with multiple branches (i.e., more than two darcs repositories containing different but related sets of patches) to a single git repository, so that each darcs repo is transferred to a distinct branch in the…
1
2 3 4