mirror of http://darcs.net/screened (fork of darcs's darcs-reviewed)  (http://darcs.net/Development/GettingStarted)

Windows fix for rebase-new-style test

C:is interpreted by tar as a network path, so we have to pipe it input instead.

ganeshSat Nov 17 10:52:43 UTC 2018

Re-mark issue1461 test as failing.

This test is intended to check behaviour on case-insensitive filesystems, but could never work in practice. It passed by accident for a while on Windows because it seems && doesn't interact properly with set -e.

Possibly this test should just be deleted, it's not clear what value it could ever have.

ganeshFri Nov 16 15:43:19 UTC 2018

new implementation of http client based on http-conduit

This implementation does not use our self-written download manager in Darcs.Util.Download, which is needed only to interact with libcurl. Instead, speculating on a remote file is done simply by running the action in a background thread (using async) and relying on the connection manager that is supplied with http-conduit. This works pretty well and gives us the full functionality (including HTTPS) in a portable manner, so I switched the default for the curl flag in darcs.cabal to False.

bfTue Sep 25 17:03:11 UTC 2018

fix test for issue1923 after fix for issue2603 broke it

The fix for issue2603 adds a call to patchsetConflictResolutions on the newly cloned repo. This procedure must look at the content of every patch in the head inventory i.e. all patches after the latest clean tag. This effectively forces these patches, so they are no longer lazy. So the bogus sources that the test fakes for the new repo aren't even looked at. The fix is simple: just record a tag after the single patch.

bfThu Nov 15 16:34:44 UTC 2018

resolve issue2603: warn and mark conflicts when cloning

bfWed Nov 14 21:00:30 UTC 2018

accept issue2603: clone repo with unresolved conflicts

bfWed Nov 14 20:32:28 UTC 2018

resolve issue2608: download _darcs/hashed_inventory separately

bfThu Nov 15 15:10:37 UTC 2018

accept issue2608: clone via http with outdated packs

bfWed Nov 14 15:10:45 UTC 2018

add missing space in new sources hint

bfThu Oct 18 22:49:32 UTC 2018

remove duplicate definition of invertCommuter as inverseCommuter

bfWed Oct 31 16:07:55 UTC 2018

remove the "darcs failed:" from error messages

Most error conditions reported by darcs are due to invalid input from the user, or indicate non-existence of things (patches, files, ...). It makes no sense for darcs to take the blame for that, which is what the phrase suggests to me.

bfThu Oct 4 23:39:19 UTC 2018

remove the set-default hint

This hint was probably added when we changed the default for push and pull to --no-set-default, so that users could get used to the new behavior. This has been many years ago and the hint nowadays looks rather strange and just causes confusion for newcomers or casual users. A by-product of this change is that the code for handling --set-default gets a lot simpler.

bfSat Sep 29 20:03:30 UTC 2018

remove hint "Do you have the right URI for the repository?"

This hint serves no purpose at all. We already told the user the name of the repo and that we don't recognize it as one. What more is there to say?

bfSat Sep 29 20:16:18 UTC 2018

re-formulate the bad sources hint

First, it no longer shouts at the user. Second, instead of saying what the user "should probably" do, we give a clear recommendation, but make it conditional on circumstance (the user may want to keep the source if they plan to restore access to it).

bfSat Sep 29 16:42:18 UTC 2018

bugfix in Darcs.UI.Completion

Since we use anchorPath "" now to convert AnchoredPath back to FilePath, we must not 'drop 2' from the result.

bfMon Oct 22 10:01:52 UTC 2018

resolve issue2604: remove --reply and related options

The options are: ccApply, reply, happyForwarding and were supported by the apply and push commands. This patch removes all conditional compilation from Darcs.Util.Compat. It also removes the dependency on the random package when building for Windows.

bfFri Oct 12 23:09:27 UTC 2018

disentangle D.R.State.filteredWorking

Swapping the order of the cases and then trying to pull out applyTreeFilter relevant made it apparent that (a) using the index in the IgnoreIndex case can be replaced by passing the pending_tree instead, and (b) applyTreeFilter relevant was missing in the UseIndex+ScanKnown case.

bfTue Oct 2 21:26:43 UTC 2018

accept issue2605: darcs crashes with duplicate patches

bfSun Oct 28 13:47:18 UTC 2018

fix in test script: pull "cd .." into if block

This was broken by patch e8d4e47572b175ea769524d5e09b86464eba7a4e * fix: fail if pending patch cannot be parsed

bfSun Oct 21 22:00:11 UTC 2018

move cache related global variables to D.R.Cache and make them thread-safe

The two global variables are reachableSourcesList and badSourcesList and they are exclusively used by D.R.Cache. So it seems cleaner to me to encapsulate them in the same module. They use MVars now to make access thread safe. While apparently the code seems to work with IORefs, the cache functions /are/ used from multiple threads, so MVars are the safer option.

bfSat Sep 29 16:35:53 UTC 2018

fix in harness: don't suppress output from failed HUnit tests

bfThu Oct 11 07:49:25 UTC 2018

improve help for _darcs/prefs/sources

bfMon Oct 1 08:46:04 UTC 2018

add subcommand 'darcs help preferences'

This is exactly the same as the chapter in the manual, slightly re-formatted for terminal output.

bfSun Sep 30 17:27:51 UTC 2018

update help for defaults file(s)

The information given there was partly out-dated.

bfSat Sep 29 11:23:00 UTC 2018

output patch apply success message with putInfo

bfFri Oct 12 23:17:28 UTC 2018

print remote execution failure message to stderr

bfFri Oct 12 21:36:58 UTC 2018

remove TypeOperators language pragmas

This extension is already globally activated in the cabal file.

bfFri Oct 12 21:27:55 UTC 2018

use anchoredRoot instead of AnchoredPath [] in index code

bfMon Oct 8 17:23:06 UTC 2018

rename repodir to repourl in D.R.Clone

bfSun Sep 30 21:06:35 UTC 2018

import MVar from Control.Concurrent.MVar, not GHC.MVar

bfSun Sep 30 17:26:56 UTC 2018