[darcs-devel] [issue1066] Reorder 'darcs put' operations

Jason Dagit bugs at darcs.net
Mon Sep 8 17:17:28 UTC 2008


New submission from Jason Dagit <dagit at codersbase.com>:

My understanding of darcs put is that it is essentially copying the patches to
the remote file system and then invoking 'darcs apply' in that repository.  This
would explain why 'darcs get' doesn't require a remote instance of darcs but
'darcs put' does.

Assuming I have the correct understanding, could 'put' be rewritten to put the
current way to a temporary directory and then upload, via HTTP PUT, scp or
whatever protocols darcs can speak, the results?

This may be slightly slower in some use cases, is it's possible that we may want
to retain the current functionality and choose between them with a commandline flag.

The bonus is that putting to machines without a remote darcs wouldn't require
the user to do the extra step of using scp, rsync or unison manually.  It would
also make 'darcs put' compatible with the Tahoe file system by simply turning on
support for HTTP PUT.

----------
messages: 5948
nosy: dagit, kowey
priority: wishlist
status: need-volunteer
title: Reorder 'darcs put' operations

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


More information about the darcs-devel mailing list