Questions tagged [darcs]
A distributed source code management system, with a simple command-line UI and precise merging.
49
questions
1
vote
1
answer
41
views
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 ...
0
votes
2
answers
43
views
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 ...
1
vote
2
answers
3k
views
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 ...
1
vote
1
answer
80
views
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: ...
1
vote
1
answer
48
views
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 ...
2
votes
1
answer
203
views
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 ...
3
votes
1
answer
123
views
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 ...
0
votes
1
answer
123
views
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 ...
4
votes
2
answers
307
views
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
...
2
votes
0
answers
43
views
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 ...
0
votes
1
answer
151
views
How to inspect the explicit dependencies of a patch in darcs?
As we know, explicit patch dependencies can be recorded by darcs record --ask-deps. (A use I see for this is preventing situations where "It's easy to move a patch that uses a feature to a point ...
5
votes
1
answer
163
views
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 <UNTOUCHED-REVISION&...
3
votes
1
answer
87
views
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 ...
1
vote
1
answer
246
views
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 ...
4
votes
2
answers
97
views
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 ...
2
votes
1
answer
56
views
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 ...
3
votes
1
answer
126
views
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 ...
1
vote
1
answer
215
views
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 ...
2
votes
1
answer
121
views
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 ...
0
votes
2
answers
118
views
setup.exe: Bad header file: curl/curl.h haskell
I am trying to install Darcs using cabal and runhaskell and I keep coming across the error
setup.exe: Bad header file: curl/curl.h
EDIT
Thank you for the suggestions, I used the -f-curl and it ...
2
votes
0
answers
83
views
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. ...
3
votes
1
answer
105
views
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?
1
vote
1
answer
53
views
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 ...
3
votes
2
answers
233
views
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.)
2
votes
1
answer
193
views
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 ...
2
votes
1
answer
135
views
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.
1
vote
2
answers
112
views
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 ...
3
votes
3
answers
407
views
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 ...
7
votes
1
answer
962
views
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 ...
11
votes
1
answer
300
views
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 ...
5
votes
1
answer
124
views
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 ...
5
votes
1
answer
646
views
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 ...
10
votes
4
answers
1k
views
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 ...
-5
votes
1
answer
801
views
Merging with an ancestor of the current commit
How does merging in a previously-rejected idea from the same branch, work in various revision control systems? Which offer support for this?
Here is my educated guess - is this summary accurate?
Git ...
6
votes
2
answers
493
views
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 ...
4
votes
1
answer
322
views
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 ...
7
votes
2
answers
385
views
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 ...
1
vote
2
answers
2k
views
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 ...
12
votes
3
answers
2k
views
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 ...
9
votes
2
answers
1k
views
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 ...
4
votes
2
answers
231
views
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 ...
2
votes
1
answer
256
views
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 ...
8
votes
4
answers
9k
views
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 ...
34
votes
2
answers
14k
views
Why darcs instead of git? [closed]
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 ...
5
votes
5
answers
270
views
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 ...
2
votes
1
answer
424
views
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 ...
0
votes
2
answers
162
views
darcs help breaks my shell
I have just installed darcs 2.1.2.2. When I type darcs help, sth less-like shows up. When I dismiss it with q it goes away but I don't get prompt and can't execute any commands. C-c doesn't work ...
4
votes
2
answers
553
views
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 ...
68
votes
18
answers
15k
views
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 ...