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
4
votes
2 answers

How to identify a revision in the darcs repository?

I mean that I need to identify a set of applied patches by some number or a string to quickly check if I have the same code version as the other people without any synchronizations. Is there some built-in darcs solution for this?
sbos
  • 307
  • 4
  • 11
4
votes
2 answers

darcs amend-record workflow

It's not uncommon for me to record a patch, pull it into my staging branch and then realize I've done something small and silly like a typo in a logging message, or something similarly trivial which doesn't require (to my mind) a whole new patch. In…
Dana
  • 32,083
  • 17
  • 62
  • 73
4
votes
2 answers

How to branch from a tag at http://hub.darcs.net?

We know that darcs has no special support for internal branches, but http://hub.darcs.net allows to fork a repo, and then track the fork as related to the mainline repo. (The related repos are displayed in the "branches" section on the site.) What…
imz -- Ivan Zakharyaschev
  • 4,921
  • 6
  • 53
  • 104
4
votes
5 answers

Is there a Darcs Plugin for Hudson

Hy, I want to use Hudson together with darcs (a scm). Is there a plugin which adds Darcs-Support to Hudson? I found no reference on the Pluginlist of Hudson, so has anybody found a plugin? I know I could write my own plugin but if somebody else has…
theomega
  • 31,591
  • 21
  • 89
  • 127
3
votes
1 answer

Tracking down dependencies in darcs

I am using darcs at work for over a year now, but I keep asking myself the same question: What is the best way to track down the code line/file/code change that is causing a dependency between two patches? For now my way of doing this is as…
anon
3
votes
1 answer

How to transfer several last patches from a darcs-1 repo to a darcs-2 one (converted elsewhere)

I've cloned the repo listed at https://hackage.haskell.org/package/language-c-0.4.7 as the upstream repo, namely: http://code.haskell.org/language-c. I've done some hacks and fixes in it, and recorded them as patches. But then I discovered that if I…
imz -- Ivan Zakharyaschev
  • 4,921
  • 6
  • 53
  • 104
3
votes
1 answer

darcs: First push fails

When I push a patch to a remote repository via ssh, the first try fails with me@bowler$ darcs push ~/Dokumente/Aufsaetze/ar_report Pushing to "me@somewhere:/home/me/darcs_repos/ar_report"... Mon Nov 17 10:13:38 CET 2014 me@somewhere.com *…
Steffen
  • 733
  • 2
  • 10
  • 24
3
votes
1 answer

darcs new testing interface

I'm following the GettingStarted guide and when I run 'cabal test' and got this message: Deprecated: "Please use the new testing interface instead!" What is the new testing interface?
user3011398
3
votes
2 answers

How to list the untracked files in darcs?

For example, in Git, when I run git status, I see whether there are any untracked files in my working dir. How do I check whether there are untracked files with darcs? (I'm using darcs-2.1.2.)
imz -- Ivan Zakharyaschev
  • 4,921
  • 6
  • 53
  • 104
3
votes
3 answers

Darcs installed with cabal not registered as shell command

As a part of installing Ubuntu on my computer, i apt-get installed cabal. After running cabal update, i ran cabal install darcs, discovered that i needed curses, installed libncurses5-dev, discovered that i needed curl, installed that, and when it…
Magnap
  • 275
  • 1
  • 2
  • 8
2
votes
1 answer

Darcs conflicts

I installed Darcs a few days ago and have a doubt. I am the only programmer and I usually work on two or three instances of the application, making new feautures. The problems cames because this instances modify the same source code file, so when I…
Fermin
2
votes
1 answer

In Darcs, view diff between two patches

In Git, I can view the diff between two commits by running something like: $ git diff c23a45 ffd644 How do I do this in Darcs? Following section 5.10.1 of the user manual I have tried: $ darcs diff --from-patch ffd644 --to-patch c23a45 but this…
mherzl
  • 5,624
  • 6
  • 34
  • 75
2
votes
0 answers

How do I fork a git tool and edit it for use with another DVCS, without confusing git users?

I'm not a git user (gasp). I use darcs. My question is: What steps should I take to fork a git repo, host it on github, yet make it apparent that it is to be used with a darcs repo? I'm trying to port an Atom package (git-time-machine which depends…
MWhit
  • 148
  • 1
  • 7
2
votes
1 answer

Whitespace in version control (darcs)

A junior programmer in our office has an unfortunate (but understandable) habit of using Eclipse's "Correct all the indentation in this file" feature. As a result, his checked out copy includes thousands of lines that register as changes, simply…
Marcus Downing
  • 10,054
  • 10
  • 63
  • 85
2
votes
1 answer

Darcs local patches

Is there any way to have Darcs maintain a repository of "local" patches? In particular, I have a project with a few branches: /project.dev /project.live Both of the branches have different configuration options (for example, for the database…
nomen
  • 3,626
  • 2
  • 23
  • 40