[darcs-devel] [issue2276] darcs rebase unsuspend needs UI improvements for "You are not... Amend anyway?"

Mark Stosberg bugs at darcs.net
Wed Dec 12 14:11:42 UTC 2012


New submission from Mark Stosberg <mark at summersault.com>:

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

I used "darcs rebase unsuspend" and got a prompt like this:

"You're not Other Developer <other at summersault.com>! Amend anyway?"

I typed "Y", and got my Bash prompt back. In the Unix tradition, I assumed 
this applied success, but soon realize that the unsuspend process had not 
completed. 

I tried again and typed "Yes" instead of "Y". Same result.

I tried again and type "y", and got an alternative cryptic result. Darcs just 
prompted me for the same question again. I assumed I had made a mistake at 
this point and was being asked to "try again", so I tried "Y" again... which 
didn't work again. 

Through trial and error I discovered that "y" and not "Y" or "Yes" must the 
only correct response. But look what happened next:

  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer Two <dev2 at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y
  You're not Developer One <dev at summersault.com>! Amend anyway? y

I was munging a lot of patches, and it appears darcs was prompting me
for every one one of them. However, I'm not provided any context to tie
a particular prompt to a particular patch.

> 2. What behaviour were you expecting instead?

1. Accept "Y", "yes" and "Yes" as correct answers.
2. If a wrong answer is given, report that, don't just silently quiet
3. To deal with patches I don't own, how about showing me the full list
of patches, and then prompting me just once at the end?

"You have requested to unsuspend the following patches which it appears
you did not create. Doing so will cause the patches to be "amended" and
will conflict with the original versions if they continue to exist in a
related repo.  Amend them anyway?"


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

Darcs 2.9.6

----------
messages: 16394
nosy: markstos
status: unknown
title: darcs rebase unsuspend needs UI improvements for "You are not... Amend anyway?"
topic: Rebase

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


More information about the darcs-devel mailing list