darcs

Issue 497 put => Error applying patch to recorded (1.0.9)

Title put => Error applying patch to recorded (1.0.9)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, zooko
Assigned To zooko
Topics Partial

Created on 2007-07-10.19:05:47 by zooko, last changed 2009-08-27.14:07:04 by admin.

Messages
msg1798 (view) Author: zooko Date: 2007-07-10.19:05:46
...  then I tried "darcs put" instead of "darcs push", and I got this  
(note that I am putting to a directory that doesn't exist -- "1.0.9p"):

-------
wonwin-mcbrootles-computer:~/playground/darcs$ time darcs put  
zooko@dev.allmydata.com:src/darcs/1.0.9p 2>&1 | tee log

darcs failed:  Error applying patch to recorded!
Running 'darcs repair' on the target repository may help.
./configure.ac: openBinaryFile: does not exist (No such file or  
directory)

real    0m4.674s
user    0m0.700s
sys     0m0.189s
msg1818 (view) Author: kowey Date: 2007-07-12.20:53:41
Sounds like it might be a bug, but I'm afraid we can't do much without a more
concrete example.
msg1820 (view) Author: zooko Date: 2007-07-13.20:56:31
> Sounds like it might be a bug, but I'm afraid we can't do much  
> without a more
> concrete example.

So, the specific repo that I was trying to push into a remote  
location was the current darcs-stable repo.  Please let me know if  
there is anything else I can do to help.

Regards,

Zooko
msg1922 (view) Author: kowey Date: 2007-07-23.14:44:38
This one was probably using the same partial repo from issue501.  Please let us
know if it works better with a complete repo :-)
msg1929 (view) Author: zooko Date: 2007-07-23.17:23:56
With a complete darcs (1.0.9) repo, the push seems to hang.  I left  
it running for 80 minutes in one case, then I needed to move my  
laptop so I killed that connection and restarted it later.

Anyway, it seems that *this* issue is specific to --partial repos.

Regards,

Zooko
msg1930 (view) Author: zooko Date: 2007-07-23.17:31:49
So eventually the push with a full darcs repo ended with this:

-------
Sun Oct 20 18:01:05 MDT 2002  droundy@abridgegame.org
   * Initial version of darcs.
darcs: _darcs/patches/20041221064941- 
ea092-8e0a447c7f36eaf47e6f5863875097cdb70971d2.gz-0: takeFile _darcs/ 
patches/20041221064941- 
ea092-8e0a447c7f36eaf47e6f5863875097cdb70971d2.gz-0 in /home/zooko/ 
tmptest: openFd: resource exhausted (Too many open files)
-------

Which I believe it issue #135.

Regards,

Zooko
msg2356 (view) Author: markstos Date: 2008-01-07.05:21:20
zooko,

Are you able to re-test this case with a build from the darcs-unstable repo? It
sounds like the kind of hang that the new conflictors code might address.

  Mark
msg3354 (view) Author: markstos Date: 2008-02-12.01:52:55
This looks it it relates to --partial repos, which is resolved-in-unstable by
using --lazy, or it the same as the issue135 about "too many open" files, which
was also recently resolved-in-unstable.
History
Date User Action Args
2007-07-10 19:05:48zookocreate
2007-07-12 20:53:48koweysetstatus: unread -> waiting-for
messages: + msg1818
2007-07-13 20:56:31zookosetmessages: + msg1820
2007-07-23 14:44:39koweysetstatus: waiting-for -> unknown
topic: + Partial
messages: + msg1922
title: failure to push into new (empty) repo with 1.0.9 -> put => Error applying patch to recorded (1.0.9)
2007-07-23 17:23:57zookosetmessages: + msg1929
2007-07-23 17:31:51zookosetmessages: + msg1930
2008-01-07 05:21:21markstossetnosy: + markstos
messages: + msg2356
2008-02-12 01:52:56markstossetstatus: unknown -> resolved-in-unstable
nosy: droundy, tommy, beschmi, kowey, markstos, zooko
messages: + msg3354
assignedto: zooko
2008-09-04 21:31:11adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:34:14adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:31:35adminsetnosy: - beschmi
2009-08-10 22:06:10adminsetnosy: - darcs-devel, jast, Serware, mornfall
2009-08-11 00:01:33adminsetnosy: - dagit
2009-08-25 17:48:51adminsetnosy: + darcs-devel, - simon
2009-08-27 14:07:04adminsetnosy: tommy, kowey, markstos, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin