|
Created on 2008-08-15.07:46:36 by kowey, last changed 2010-06-15.21:47:51 by admin.
msg5536 (view) |
Author: kowey |
Date: 2008-08-15.07:46:30 |
|
If darcs asks darcs transfer-mode for a missing file (say _darcs/format on an
old-fashioned repository), darcs transfer-mode will die and this sort of nasty
thing will happen:
Fri Aug 15 08:41:39 BST 2008: with ssh code.haskell.org: get format
Fri Aug 15 08:41:39 BST 2008: Error reading file remotely:
format: openBinaryFile: does not exist (No such file or directory)
Fri Aug 15 08:41:39 BST 2008: Failed to start ssh connection:
Error reading file remotely:
format: openBinaryFile: does not exist (No such file or directory)
Fri Aug 15 08:41:39 BST 2008: Severing ssh failed connection to
code.haskell.org:empty/_darcs/format
Ugh! and then we go back to using scp :-(
The workaround is very simple: touch _darcs/format on the remote repository.
|
msg5537 (view) |
Author: kowey |
Date: 2008-08-15.07:50:48 |
|
Note: as this only affects old-fashioned repositories, a simple solution would
be to put this advice into the upgrade section of the manual
|
msg5979 (view) |
Author: kowey |
Date: 2008-09-10.22:28:56 |
|
Ok, I just thought of a solution on IRC:
darcs-transfer mode should have a list of files that it knows have the right not
to exist so that it can peacefully accept their non-existence
traps to watch out for are backwards compatibility with older darcs clients,
maybe by returning an empty file?
|
msg6190 (view) |
Author: droundy |
Date: 2008-10-01.18:50:06 |
|
This was fixed while email to bugs wasn't working.
David
|
msg6241 (view) |
Author: kowey |
Date: 2008-10-06.10:40:39 |
|
Just noting the resolution: it turns out I had misdiagnosed this bug. It wasn't
darcs transfer-mode that was dying, but the client end that was prematurely
severing the connection. This has since been fixed.
|
|
Date |
User |
Action |
Args |
2008-08-15 07:46:36 | kowey | create | |
2008-08-15 07:46:46 | kowey | set | nosy:
beschmi, kowey, darcs-devel, dagit title: transfer-mode does deal well with missing files -> transfer-mode does not deal well with missing files |
2008-08-15 07:50:49 | kowey | set | status: unread -> unknown nosy:
beschmi, kowey, darcs-devel, dagit messages:
+ msg5537 |
2008-09-10 22:28:58 | kowey | set | nosy:
beschmi, kowey, darcs-devel, dagit messages:
+ msg5979 |
2008-10-01 18:50:08 | droundy | set | status: unknown -> resolved-in-unstable nosy:
+ droundy, simon, thorkilnaur messages:
+ msg6190 |
2008-10-06 10:38:35 | kowey | link | issue1126 superseder |
2008-10-06 10:40:41 | kowey | set | nosy:
+ dmitry.kurochkin, - darcs-devel messages:
+ msg6241 |
2009-04-22 03:32:17 | twb | set | status: resolved-in-unstable -> resolved nosy:
droundy, beschmi, kowey, dagit, simon, thorkilnaur, dmitry.kurochkin |
2009-08-06 18:01:02 | admin | set | nosy:
+ markstos, jast, Serware, darcs-devel, zooko, mornfall, tommy, - droundy |
2009-08-06 21:11:09 | admin | set | nosy:
- beschmi |
2009-08-10 12:54:16 | admin | set | nosy:
- tommy, markstos, darcs-devel, zooko, jast, Serware, mornfall |
2009-08-10 23:42:34 | admin | set | nosy:
- dagit |
2009-08-25 17:29:57 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:18:41 | admin | set | nosy:
kowey, darcs-devel, thorkilnaur, dmitry.kurochkin |
2010-06-15 21:47:50 | admin | set | milestone: 2.1.x |
2010-06-15 21:47:51 | admin | set | topic:
- Target-2.1 |
|