darcs

Issue 900 C-c to get lazy repository yields error message

Title C-c to get lazy repository yields error message
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List dmitry.kurochkin, kowey, thorkilnaur, tommy, zooko
Assigned To
Topics Control-C, HTTP, Hashed, UI

Created on 2008-06-05.00:58:23 by zooko, last changed 2017-07-31.00:00:54 by gh.

Messages
msg4949 (view) Author: zooko Date: 2008-06-05.00:58:21
It said to hit C-c if you want a lazy repository.  I did, so I hit C- 
c.  Then it gave me an error message.

zooko@deharo1:~/playground$ time darcs get http://allmydata.org/ 
source/tahoe/trunk-hashedformat
Copying patches, to get lazy repository hit ctrl-C...

darcs failed:  Couldn't fetch  
`0000001090-8268520b39ee453eb0cc01c820177703dfa9b704aeaa6ee4d66676806054 
46ed'
in subdir patches from sources:

thisrepo:/home/zooko/playground/trunk-hashedformat
repo:http://allmydata.org/source/tahoe/trunk-hashedformat
repo:/var/tmp/tm/tahoe
thisrepo:/home/source/darcs/tahoe/trunk-hashedformat-new
repo:/home/zooko
thisrepo:/var/tmp/tm/zooko
cache:/home/source/.darcs/cache

real    1m6.331s
user    0m18.930s
sys     0m4.250s
msg4959 (view) Author: kowey Date: 2008-06-05.07:19:30
I'm guessing this is a relatively minor bug.  Zooko, your fetched repository is
working correctly, right?
msg4983 (view) Author: zooko Date: 2008-06-05.19:48:37
Right.  It passes darcs check and it works.
msg7064 (view) Author: thorkilnaur Date: 2009-01-12.12:19:27
This is one of a couple of issues that relates to apparently incorrect handling or  
missing clean-up when hitting Ctrl-C (C-c) while darcs is running. At present, the 
others are issue1161 and issue1231. I have created a topic/keyword "Control-C 
Ctrl-C C-c" for this and attached it to all these issues.

I would like a volunteer to take a closer look at these issues. It is not 
particularly clear how to proceed, because the effect of hitting Ctrl-C will 
surely depend on the timing of various events. Nevertheless, this may provide an 
interesting puzzle for the right person.

Thanks and best regards
Thorkil
msg11661 (view) Author: kowey Date: 2010-07-01.10:08:21
Oops, I just noticed one step we forgot: reproduce the behaviour.  So to
move this ticket forward, we need somebody else to confirm that they can
reproduce this (I vaguely remember seeing something like this before)
History
Date User Action Args
2008-06-05 00:58:23zookocreate
2008-06-05 07:02:39koweylinkissue901 superseder
2008-06-05 07:19:33koweysetpriority: bug
nosy: + kowey
topic: + UI
status: unread -> unknown
messages: + msg4959
2008-06-05 19:48:38zookosetnosy: tommy, beschmi, kowey, zooko, dagit
messages: + msg4983
2009-01-12 12:19:34thorkilnaursetstatus: unknown -> needs-reproduction
nosy: + dmitry.kurochkin, simon, thorkilnaur
topic: + Control-C
messages: + msg7064
2009-08-06 21:07:01adminsetnosy: - beschmi
2009-08-11 00:16:14adminsetnosy: - dagit
2009-08-25 17:39:04adminsetnosy: + darcs-devel, - simon
2009-08-27 14:14:45adminsetnosy: tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin
2009-09-05 09:30:29koweysettopic: + HTTP
nosy: tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin
2010-07-01 10:08:24koweysettopic: + Hashed
nosy: - darcs-devel
messages: + msg11661
2017-07-31 00:00:54ghsetstatus: needs-reproduction -> given-up