[darcs-devel] [issue2332] Attempting to enter default choice key literally gives unhelpful message

Owen Stephens bugs at darcs.net
Fri Jul 19 13:20:05 UTC 2013


New submission from Owen Stephens <darcs at owenstephens.co.uk>:

1. Summarise the issue (what were doing, what went wrong?)

If a user enters the default choice literally (as an uppercase letter)
darcs isn't very helpful:

 ~/code/darcs.net % darcs cha
Thu Jul  4 14:36:29 BST 2013  Guillaume Hoffmann <guillaumh at gmail.com>
  * update help of mark-conflicts
Shall I view this patch? (1/?) [yN...], or ? for more options: N
Invalid response, try again!

2. What behaviour were you expecting instead?

Darcs should tell me that the uppercase letter is a default:

 ~/code/darcs.net % darcs cha
Thu Jul  4 14:36:29 BST 2013  Guillaume Hoffmann <guillaumh at gmail.com>
  * update help of mark-conflicts
Shall I view this patch? (1/?) [yN...], or ? for more options: N
Invalid response: choices must be lowercase. The default choice is 
listed as uppercase, which is chosen by pressing <Space>.

----------
messages: 16915
nosy: owst
status: unknown
title: Attempting to enter default choice key literally gives unhelpful message

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2332>
__________________________________


More information about the darcs-devel mailing list