[darcs-devel] [issue1003] transfer-mode does deal well with missing files

Eric Kow bugs at darcs.net
Fri Aug 15 07:46:36 UTC 2008


New submission from Eric Kow <eric.kow at gmail.com>:

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.

----------
messages: 5536
nosy: beschmi, dagit, darcs-devel, kowey
priority: bug
status: unread
title: transfer-mode does deal well with missing files
topic: Performance, ReleaseCritical_2.0.3

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1003>
__________________________________


More information about the darcs-devel mailing list