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
2
votes
1 answer

Darcs record empty patch

I'm writing a repository conversion tool. The problem is the git-to-darcs part. Git can have empty commits; Darcs can't. For empty Mercurial commits, I just created a tag. I know Darcs has tags, but I can't figure out how to remove the tagged prefix…
kirbyfan64sos
  • 10,377
  • 6
  • 54
  • 75
2
votes
0 answers

Ghost zombie conflict in Darcs

I have a "ghost zombie conflict" in my repositories. Once upon a time there was a conflict whereupon me and my colleague modified the same lines in a certain file. No biggie, stuff like this happens. I resolved the conflict like I always do (I…
2
votes
1 answer

Revert a single file to previous version with darcs

One of the SVG files of my project became corrupt (I can't open it anymore with my editor). I'd like to revert just this file to a previous version so that I can edit it. I guess it must be possible to do that with Darcs. I should just apply the…
John Smith Optional
  • 22,259
  • 12
  • 43
  • 61
2
votes
1 answer

Darcs dependency tree view

Is there a tool that can show a tree view representing patches dependencies in darcs? I found DarcsDeps but it seems dead and I couldn't make it work.
WilQu
  • 7,131
  • 6
  • 30
  • 38
1
vote
1 answer

Darcs list names of all tracked files

This question answers how, in darcs, to list the names of added files with unrecorded changes. This question answers how, in git, to list the names of all files currently under source control. How, in darcs, does one list the names of all files…
mherzl
  • 5,624
  • 6
  • 34
  • 75
1
vote
2 answers

Why doesn't Git rebase take exponential time like Darcs?

So according to the this Wikipedia page about merges in version control, Darcs uses patch commutation and so does Git when it rebases. I'm curious to know why doesn't Git rebase take exponential time in some cases the same way Darcs does? This page…
Yazeed Sabri
  • 346
  • 3
  • 17
1
vote
1 answer

Failed to install darcs via Nix

Just got started with Nix (version 2.2.1), and while installing darcs (version 2.14.1) i encountered my first problem: I get the following error message (preceded by the callstack): Setup: Encountered missing dependencies: base >=4.9 &&…
Ulfhorst1
  • 11
  • 3
1
vote
2 answers

Rewrite url turning querystring into directory path and removing cgi script filename and path from url

I am trying to rewrite: repo.pointfree.net/darcsweb/darcsweb.cgi?r=remixbot;a=summary as repo.pointfree.net/remixbot/summary/ for example. ...but the url is apparently not being rewritten (when I visit repo.pointfree.net I get Error 403 Forbidden).…
andreasw
  • 511
  • 9
  • 21
1
vote
1 answer

In darcs, how to view only the names of changed files

The command $ darcs whatsnew lists unrecorded changes in the working tree. However, often the full list of changes is too cluttered to see in one screen which files have changed. How can I list only the names of changed files? In git I do this via $…
mherzl
  • 5,624
  • 6
  • 34
  • 75
1
vote
1 answer

How to go back to a tag in darcs?

I'd like to checkout an older tagged state in the current darcs repo (its working dir). I don't want to clone to another directory (because I have setup a cabal sandbox in the current directory). I have already pushed all new changes to a remote…
imz -- Ivan Zakharyaschev
  • 4,921
  • 6
  • 53
  • 104
1
vote
1 answer

Failed to install Darcs - Ubuntu 14.04 x64 - darcs 2.8.4 - cabal 1.20.0.2

I have a problem in installing darcs $ cabal install darcs-2.8.4 /tmp/darcs-2.8.4-26031/darcs-2.8.4/Setup.lhs:106:3: Warning: In the use of `runTests' (imported from Distribution.Simple, but defined in Distribution.SimpleLinking…
AmirHossein
  • 1,310
  • 1
  • 12
  • 19
1
vote
1 answer

darcs appending extra directory separator

I am having a problem using darcs getover ssh. I think the failure is because of something wrong in the path to the repository, but I cannot figure out how to correct. The error message reads: darcs failed: Not a repository:…
brittAnderson
  • 1,428
  • 11
  • 25
1
vote
2 answers

Darcs push fails for no apparent reason between Windows and Linux using VMware

I have a strange Darcs issue here. I'm running a VM with a Linux guest OS and a Windows host OS. I've set up /mnt as a "shared folder"; any files placed here are actually stored in a folder on the host OS. Among other things, this causes all files…
MathematicalOrchid
  • 61,854
  • 19
  • 123
  • 220
0
votes
2 answers

In darcs, is there a way to recover rolled-back patches?

In my darcs repo, I needed to rollback to look at a prior change. I made a copy of what I thought was the root directory, rolled back, and deleted. Now I realize that the root was actually one directory up. So the repo I rolled back was actually my…
mherzl
  • 5,624
  • 6
  • 34
  • 75
0
votes
1 answer

Best vcs to handle backup database

At the moment, we are using git to backup our databases. I know there lots of reason to not do so, but this is not the topic of this post. We need to do it and we will do it (we have good reason for it). However, the problem is git doesn't handle…
mb14
  • 22,276
  • 7
  • 60
  • 102