darcs

Issue 2305 darcs get --to-patch should not fail on Ctrl-C

Title darcs get --to-patch should not fail on Ctrl-C
Priority Status unknown
Milestone Resolved in
Superseder Nosy List galbolle
Assigned To
Topics

Created on 2013-02-21.15:33:37 by galbolle, last changed 2013-02-21.15:43:32 by owst.

Messages
msg16706 (view) Author: galbolle Date: 2013-02-21.15:33:35
1. Summarise the issue (what were doing, what went wrong?)

I did a darcs get repo --to-patch patch

when prompted to hit Ctrl-C to get a lazy repo, I did so.

darcs aborted and complained it did not get the patches it needed to
unapply.

2. What behaviour were you expecting instead?

darcs should have started getting those patches, stopping only if I had
hit Ctrl-C a *second* time.

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

HEAD as of 20130221

4. What operating system are you running?
  
debian unstable
msg16709 (view) Author: owst Date: 2013-02-21.15:43:31
Slight clarification from IRC:

    owst | jnaimard: re: issue2305, why do you want to have to hit C-c
twice?
jnaimard | I don't want to
    owst | "darcs should have started getting those patches, stopping
only if I
            had hit Ctrl-C a *second* time."
jnaimard | that's what a user who really wants to stop darcs right now
and get
           a non-working repo would have to do
jnaimard | hence "only if"
    owst | Oh I see, so you want it to get the patches it needs, and no more
jnaimard | yes
History
Date User Action Args
2013-02-21 15:33:37galbollecreate
2013-02-21 15:43:32owstsetmessages: + msg16709