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

make Darcs.Util.Path.normPath cheaper on well formed paths

ghWed Nov 19 20:18:03 UTC 2014

make Darcs.Util.Path.decodeWhite cheaper on paths that do not need it

ghWed Nov 19 17:40:03 UTC 2014

remove unused FileName related function

ghWed Nov 19 17:09:14 UTC 2014

In CommandControl, push the existential down into the alternatives

bfrFri Nov 14 18:29:40 UTC 2014

resolve conflicts

ganeshTue Nov 18 07:11:31 UTC 2014

Make the options type used by a command into a type parameter.

The default for commands that haven't been migrated to the new options system is [DarcsFlag].

The explicit parse step this change introduces provides a convenient point to normalise the [DarcsFlag] list for unmigrated commands, to avoid any problems caused by default values for options that are overridden by later choices appearing in the list.

ganeshFri Nov 14 06:18:20 UTC 2014

fix the --to-patch and --to-match flags

Before the options rewrite, clone used to treat these flags as if they were --patch and --match, and other commands treated them normally. In the rewrite, the clone behaviour accidentally got extended to the other commands.

This fixes them to behave as expected, and explicitly translates them in the case of clone.

ganeshWed Nov 19 06:48:24 UTC 2014

fix: in utf.sh, add --skip-long-comment else an editor is opened

This is due to the new behavior of Darcs record which opens an editor by default. I guess this didn't come up before because people who ran the tests don't have the ISO-8859-15 on their system (in which case the test silently succeeds).

bfrWed Nov 19 06:49:00 UTC 2014

Abstract out some common code in UI/Options/Util

owstSat Nov 15 12:50:51 UTC 2014

Use fromMaybe d x instead of maybe d id x

owstSat Nov 15 12:50:51 UTC 2014

Improve --not-in-remote, allowing multiple repos and use default

Handle multiple repos, and use the default push/pull repo if no arg is passed

owstSat Nov 15 12:50:47 UTC 2014

Remove some trailing spaces

owstSat Nov 15 11:49:44 UTC 2014

Uncouple the --mail and --sendmail-command options

They were coupled together in the options rewrite, but it seems that some of the tests actually call --sendmail-command without --mail. This may be a hangover from the issue2204 changes, or it might be deliberate and I'm having trouble working out how things should behave.

So for now I think it's best to go back to having them be independent options, and figure this out properly separately.

ganeshMon Nov 17 21:03:57 UTC 2014

use decodeString to convert command line args up front

Also make it return IO String, thus saving an unsafePerformIO. This is possible because decodeString is no longer used in pure functions.

bfrMon Nov 17 22:11:14 UTC 2014

resolve issue2414: use parseFlags instead of toMatchFlags where needed

ghMon Nov 17 20:50:32 UTC 2014

resolve issue2418: add and check on-disk patch index version

ghMon Nov 17 00:06:05 UTC 2014

no longer use indexing for on-disk patch index, make infomap a bloom filter

ghSun Nov 16 23:53:54 UTC 2014

reimplement getPatches with less code

ghThu Nov 13 21:07:42 UTC 2014

cleaned up some duplicate build-depends in darcs.cabal

These were, I think, left-overs from pasting the hashed-storage stuff. There are more of these duplicate entries but I don't feel too confident messing around with the cabal file.

bfrThu Nov 13 22:43:22 UTC 2014

removed a wrong comment in Darcs.UI.Options.All

bfrWed Nov 12 16:10:47 UTC 2014

added some empty lines and fixed a comment typo in Darcs.UI.RemoteApply

bfrSun Nov 9 22:27:31 UTC 2014

move Iso and IsoFunctor from Darcs.UI.Options.Core to Darcs.UI.Options.Iso

bfrThu Nov 13 01:46:19 UTC 2014

minimise imports of DarcsFlag's constructors

ganeshWed Nov 12 07:25:39 UTC 2014

update messages mentioning darcs optimize --patch-index

optimize is now a supercommand rather than having lots of flags

ganeshThu Nov 13 07:01:14 UTC 2014

make the help message for --ask-deps generic

It now makes sense for both record (default dependencies are minimal) and tag (default dependencies are everything).

Update the record and tag help to clarify the behaviours.

ganeshWed Nov 5 19:13:41 UTC 2014

fix warnings

ganeshWed Nov 5 21:02:02 UTC 2014

removed tests for flag membership in Darcs.UI.CommandsAux

bfrSun Nov 9 22:23:22 UTC 2014

fix the convert command (convert.sh test failed)

This patch demonstrates how to get rid of explicit flag testing in command implementations as well as how to handle the cases where flags are add to the flag list. Here, we remove flag testing and insertions for the UseFormat1 and UseFormat2 flags.

bfrSat Nov 8 23:24:06 UTC 2014

use bytestring functions dropWhile and break instead of ours

ghWed Nov 12 18:45:34 UTC 2014

directly pass around SHA1 of patches instead of string representation

ghFri Nov 7 11:08:25 UTC 2014