darcs

Issue 566 darcs apply hangs

Title darcs apply <file> hangs
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, vmiklos
Assigned To
Topics

Created on 2007-12-04.00:47:14 by vmiklos, last changed 2009-08-27.14:07:43 by admin.

Messages
msg2277 (view) Author: vmiklos Date: 2007-12-04.00:47:13
hi,

using darcs 1.0.9 (release), it seem what only

cat file|darcs apply works, and

darcs apply file just hangs (probably it wants to read from stdin, too)

please ask for more info if i missed something

thanks,
- VMiklos
msg2278 (view) Author: droundy Date: 2007-12-04.14:37:56
On Tue, Dec 04, 2007 at 12:47:14AM -0000, VMiklos wrote:
> using darcs 1.0.9 (release), it seem what only
> 
> cat file|darcs apply works, and
> 
> darcs apply file just hangs (probably it wants to read from stdin, too)
> 
> please ask for more info if i missed something

Thanks for the bug report!
-- 
David Roundy
Department of Physics
Oregon State University
msg2352 (view) Author: markstos Date: 2008-01-07.05:06:37
vmiklos,

Are you saying "darcs apply file" always hangs for you, or just with one
particular patch bundle you are trying to apply? 

Have you had a chance to test the file with a new a darcs and a repo that has
been through "darcs convert" ? There has been significant improvements lately
which may improve your experience.
msg2359 (view) Author: vmiklos Date: 2008-01-07.14:01:39
On Mon, Jan 07, 2008 at 05:06:38AM -0000, Mark Stosberg <bugs@darcs.net> wrote:
> Are you saying "darcs apply file" always hangs for you, or just with one
> particular patch bundle you are trying to apply? 

no, the problem is that "darcs apply <file>" should read from <file>
while currently it still reads from stdin. and this used to work. i
haven't tracked it down which patch broke it.

(if <file> is omitted then it's ok to read from stdin obviously, but
only in that case)

thanks,
- VMiklos
msg2362 (view) Author: markstos Date: 2008-01-08.00:45:47
We have an automated test, "send_apply.sh" that tests that 'darcs apply file'
works. I just confirmed that this passes, so I'm marking this one as "resolved
in unstable". 

If "sh test/send_apply.sh" fails for you with a darcs checkout, please re-open
the ticket.
msg2363 (view) Author: vmiklos Date: 2008-01-08.01:00:35
On Tue, Jan 08, 2008 at 12:45:48AM -0000, Mark Stosberg <bugs@darcs.net> wrote:
> If "sh test/send_apply.sh" fails for you with a darcs checkout, please re-open
> the ticket.

ah, great. the buggy one was some older stable release.

thanks,
- VMiklos
History
Date User Action Args
2007-12-04 00:47:15vmikloscreate
2007-12-04 14:37:57droundysetstatus: unread -> unknown
messages: + msg2278
2008-01-07 05:06:40markstossetnosy: + markstos
messages: + msg2352
2008-01-07 14:01:41vmiklossetmessages: + msg2359
2008-01-08 00:45:49markstossetstatus: unknown -> resolved-in-unstable
messages: + msg2362
2008-01-08 01:00:37vmiklossetmessages: + msg2363
2008-09-04 21:31:40adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:48:25adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, vmiklos
2009-08-06 20:54:20adminsetnosy: - beschmi
2009-08-10 22:09:50adminsetnosy: + vmiklos, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-11 00:03:56adminsetnosy: - dagit
2009-08-25 18:00:16adminsetnosy: + darcs-devel, - simon
2009-08-27 14:07:43adminsetnosy: tommy, kowey, markstos, vmiklos, darcs-devel, thorkilnaur, dmitry.kurochkin