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

darcs show dependencies

Based on work by Ale Gadea.

ghSun Sep 20 12:29:52 UTC 2015

implement function getDeps

Based on work by Ale Gadea.

ghSun Sep 20 10:15:40 UTC 2015

make patch selection lazier in presence of matchers

ghSat Sep 19 21:36:48 UTC 2015

get rid of selectChanges

ghSat Sep 19 21:33:59 UTC 2015

inline patchSetToPatches in the only place where it is used

ghFri Sep 18 11:50:33 UTC 2015

using mmap on Windows was causing test failures

ganeshSat Sep 19 09:26:40 UTC 2015

removed cleaning of _darcs/patches before getting patches pack

It seems wrong to clean the patches directory right after we started populating it. Not that the cleaned files are overly important, but still...

bfrSun Jun 28 01:50:16 UTC 2015

extended network/log.sh test (repeat without any filename arguments)

bfrSat Jul 4 14:57:15 UTC 2015

resolve issue2463: building darcs on powerpc

Joachim BreitnerThu Jul 16 18:34:03 UTC 2015

require text>= if using ghc 7.10

ghThu Jul 30 21:29:11 UTC 2015

require text>= if using ghc 7.10

ghThu Jul 30 19:15:43 UTC 2015

Add missing file for 'renames.sh' test

Found on darcs-2.10.1 release tarball:

renames.sh (Darcs2) (PatienceDiff): [Failed] | ... | runhaskell $TESTBIN/renameHelper.hs | + runhaskell /home/slyfox/dev/darcs/darcs.net/dist/darcs-2.11.0/tests/bin/renameHelper.hs | | <no location info>: | can't find file: /home/slyfox/dev/darcs/darcs.net/dist/darcs-2.11.0/tests/bin/renameHelper.hs

Sergei TrofimovichFri Jul 17 12:54:53 UTC 2015

please hackage adding 'manual: True' to the warn-as-error flag

ghThu Jul 9 16:58:51 UTC 2015

simplified code in D.R.Ssh by using withMVar

bfrThu Jul 2 13:06:28 UTC 2015

rollback issue2455 test - issue now resolved as invalid

ganeshFri Jul 3 05:39:21 UTC 2015

stop test being sensitive to runner's umask

ganeshSun Jun 28 20:15:42 UTC 2015

resolve issue2461, this time also when no file names are specified

Also slightly improve the error message when invalid arguments (non-relative paths) are given for remote repos.

bfrWed Jul 1 19:10:23 UTC 2015

remove race from D.R.Packs, further simplify the code

It turned out cancelling the other thread makes the error only less probable, I could still reproduce it. The reason is that the race is semantically incorrect: The extra patches to fetch are not a subset of the ones we get from the pack, since they may contain patches that were added after creation of the pack.

In order to further simplify the code and remove possible race conditions, the meta-filelist-xxx files are not written to disk. Instead we directly evaluate their content and pass it to fetchFilesUsingCache.

bfrSun Jun 28 18:18:58 UTC 2015

resolve issue2459: fall back to writing the file if createLink fails

bfrWed Jun 24 22:15:07 UTC 2015

resolve issue2461: darcs log --repo=remoterepo creates and populates _darcs

The solution is to make a case distinction between remote and local usage. If we are working in a remote location, check that file arguments are relative paths and then do the log action inside a temporary directory.

bfrSun Jun 28 16:23:56 UTC 2015

extend network/log.sh test for things mentioned in issue2461

In particular, check that - no _darcs dir remains - it works if we are in a non-writeable dir - it fails if we give it an absolute filename

bfrSun Jun 28 16:33:40 UTC 2015

use transferModeHeader from D.R.Ssh in D.U.C.TransferMode

bfrSun Jun 28 01:44:43 UTC 2015

made connection caching in Darcs.Repository.Ssh thread safe

The module in question had a global variable implemented as an IORef which does not play well with concurrent threads. The revised implementation uses MVars and also takes care that a connection is only used by one thread at a time. This fixes severe performance problems and intermittent failures when cloning repos over ssh due to concurrent access from D.R.Packs.

Another problem was that the connections were identified by the user@host part only, but not by the directory of the repo. This causes problems when e.g. pulling from multiple ssh repos on the same user@host. We now use a (user@host, repodir) pair as the key for cached connections.

bfrSun Jun 28 01:53:30 UTC 2015

removed Darcs.Patch.Prim.V3 from unit tests

The tests sometimes fail and we do not use it in darcs (yet?).

bfrMon Jun 22 07:36:28 UTC 2015

fix precondition violation in hashed-storage tests

bfrMon Jun 22 07:40:03 UTC 2015

cleanup in Darcs.Util.URL

  • indentation/whitespace
  • improved comments
  • added TODO about using regex library
  • renamed urlOf to sshFilePathOf
  • use </> for path catenation
bfrSun Jun 28 13:42:25 UTC 2015

cleanup: break up an over long code line D.R.Clone

bfrSun Jun 28 18:17:21 UTC 2015

cleanup: removed unnecessary LANGUAGE CPP pragma from D.U.C.TransferMode

bfrSun Jun 28 12:38:52 UTC 2015

Darcs.Repository.Clone: removed useless haddocks for createRepository

bfrSun Jun 21 22:04:21 UTC 2015

Darcs.Repository.Clone: moved cleanDir to the top level

bfrSun Jun 21 22:02:39 UTC 2015