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

add --no-minimize flag to fix broken tests

ghThu Oct 23 14:00:32 UTC 2014

resolve issue2403: need to avoid moving the rebase patch to the end

This bug is a pretty good example of why the "rebase internal patch" is a rather nasty hack - see 'Note [Rebase representation]' in src/Darcs/Patch/Rebase.hs

ganeshTue Oct 21 18:24:11 UTC 2014

Share applyPatches code between pull and apply

Abstract the applyPatches function from the apply command, and make pull use it.

This means the following changes to apply:

  • The outcome is now displayed using 'putInfo', which means it will respect options like '-q' where it didn't before. This seems reasonable.

It means the following changes to pull:

  • We now call 'setEnvDarcsPatches'. This seems reasonable.

  • We now call 'withSignalsBlocked' when applying patches. I think this is harmless or an improvement.

  • The output messages are a bit more generic, but I don't think any important detail is lost.

  • We now call 'redirectOutput' around the messages. --reply isn't passed to pull so this should make no difference.

ganeshTue Oct 21 16:08:25 UTC 2014

clarify naming of applyPatches functions

ganeshTue Oct 21 14:06:58 UTC 2014

optimize cache help string

ghTue Oct 21 14:13:36 UTC 2014

minimize bundle contexts by default, allow ctrl-c or --no-minimize

ghFri Oct 17 17:40:32 UTC 2014

pattern-match against Sealed rather than using unsafeUnseal

ganeshThu Oct 16 17:43:17 UTC 2014

comment about fast-export forbidden tag characters

ghWed Oct 15 20:14:30 UTC 2014

--minimize for obliterate -O

ghWed Oct 15 21:05:34 UTC 2014

resolve issue1514: send --minimize-context flag for send

ghWed Oct 15 21:04:57 UTC 2014

followup work on garbage collecting of global cache

  • do bucketting and garbage collection in single command 'optimize cache'
  • no longer recurse in dot-directories when looking for repotories
  • no longer consider OF repositories
  • when no directory given look into home
ghTue Oct 14 12:18:32 UTC 2014

use now -h and --hash as shortcut flags to match on patch hash

ghWed Oct 8 18:58:29 UTC 2014

remove the broken sigPIPE test

This test was introduced in 2006 to assert that darcs shouldn't exit with an error if stdout disappears while it's running (e.g. darcs changes | head).

It looks like at some point this test stopped being useful, because it wasn't actually producing enough output to actually fail, e.g. because of buffering on the other side of the pipe.

It also seems that at some point darcs did start exiting with an error in this scenario. This may have been due to GHC library changes in the handling of EPIPE - see GHC bugs #1619 and #2699 for some context.

Then the output format of 'darcs changes' was changed by "show patch hash in UI", which tipped the amount of output back over the edge and caused the test to fail.

In general the typical behaviour for UNIX commands is to exit with an error when their output pipe disappears. The exit code is typically 141 because the command receives SIGPIPE. In our either darcs or the GHC runtime or both are ignoring SIGPIPE, so the eventual exit code is 2 (see Darcs.Util.SignalHandler).

I think this behaviour is fairly reasonable so I am just deleting the test.

ganeshSat Sep 27 14:30:18 UTC 2014

Resolve issue2249: Rename isFile to isValidLocalPath and WorkRepoURL to WorkRepoPossibleURL

mleSun Sep 28 10:28:35 UTC 2014

enable a few tests on Windows

ganeshSat Sep 27 23:14:29 UTC 2014

add a format pragma for the convert.sh and fix the test data

ganeshSat Sep 27 22:54:50 UTC 2014

skip the issue1739 test on Windows for now as it fails

ganeshSat Sep 27 22:36:06 UTC 2014

Control pkgconfig use with a flag, defaulted to off

It causes problems on e.g. MacOSX which doesn't have many pkgconfig files.

ganeshSat Sep 27 21:53:57 UTC 2014

fix the utf8.sh test to reflect the issue2320 changes

Interactively entered authors now end up in the global prefs file. To avoid clobbering the user's prefs if they run the script by hand, the test is now skipped if a global authors file exists.

ganeshSat Sep 27 16:14:19 UTC 2014

resolve issue2153: allow skipping backwards through depended-upon patches

andreas.brandt.deSat Sep 27 09:49:39 UTC 2014

accept issue2153: allow skipping backwards through depended-upon patches

andreas.brandt.deSat Sep 27 15:59:17 UTC 2014

fix send-output tests to reflect changes in patch display

ganeshSat Sep 27 09:32:49 UTC 2014

push CPP down into individual modules

This reduces the time spent preprocessing, cutting the time for a "null" cabal build from 17s to 12s for me.

ganeshFri Sep 26 20:26:05 UTC 2014

change test to use a hostname that doesn't resolve

For some reason 'host' resolves to 127.0.53.53 for me right now, might be that something changed in the root zones or some behaviour of Google's DNS server.

ganeshFri Sep 26 19:22:48 UTC 2014

rename join in the PrimCanonize class to coalesce

This avoids clashes with the Prelude's join and is a better name anyway Also rename various tests and utility functions to reflect this name change

ganeshSat Sep 27 08:17:10 UTC 2014

rename coalesce to coalesceRev to free up the 'coalesce' name for the type class

ganeshSat Sep 27 07:52:55 UTC 2014

AMP for FileModMonad and second copy of "Perhaps"

aristidFri Sep 26 17:39:05 UTC 2014

AMP for Perhaps and DefaultIO/TolerantIO/SilentIO/TolerantWrapper

aristidFri Sep 26 16:43:34 UTC 2014

Remove faulty (>>) in second Perhaps

aristidSat Sep 27 07:37:53 UTC 2014

Perhaps was not a valid Monad

aristidFri Sep 26 16:45:01 UTC 2014