darcs

Issue 2419 darcs changes: cannot override default -i with -a from command line

Title darcs changes: cannot override default -i with -a from command line
Priority Status resolved
Milestone Resolved in 2.10.0
Superseder Nosy List bfrk
Assigned To
Topics

Created on 2014-11-17.22:39:34 by bfrk, last changed 2015-02-02.22:45:37 by bfrk.

Messages
msg17840 (view) Author: bfrk Date: 2014-11-17.22:39:32
1. Summarise the issue (what were doing, what went wrong?)

When I set

changes interactive

in my defaults file, I cannot override this on the command line:

ben@sarun[1]: .../darcs/screened > darcs changes -a
patch 02ef1a6d50cd7e0e8683ce3109d6a658597b1890
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date:   Mon Nov 17 23:11:14 CET 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.
Shall I view this patch? (1/?) [yN...], or ? for more options: q

2. What behaviour were you expecting instead?

Non-interactive behaviour.

3. What darcs version are you using? (Try: darcs --exact-version)

2.9.9 (+ 180 patches)

4. Possible cause

This is most probably caused by residual code in the log command that
tests for Flag membership w/o taking precedence into account.
msg17984 (view) Author: bfrk Date: 2015-02-02.22:45:36
It seems this problem is fixed now. I can't reproduce it any more with
the HEAD.
History
Date User Action Args
2014-11-17 22:39:34bfrkcreate
2015-02-02 22:45:37bfrksetstatus: unknown -> resolved
messages: + msg17984
resolvedin: 2.10.0