New submission from Max Battcher <[EMAIL PROTECTED]>:

It would be useful in the case of immutable repositories (repositories for 
tools like darcs get mainly, with all mutating commands --disabled in 
defaults) to be stored without any of the files in its working directory.  
Thus the only overhead for the immutable repository would be _darcs-related, 
much of which can be linked by darcs get/optimize already.

The primary use case scenario would be you might wish to store a repository at 
a certain point in time, be it a tag repository (darcs get --tag --no-working-
directory) or just a current snapshot repository (darcs get --no-working-
directory).  This immutable repository (again, adding enforcing lines to 
_darcs/prefs/defaults) could then still be useful to tools like darcsweb that 
rely on the pristine cache rather than the working directory and in use with 
darcs get/pull.

Admittedly, having no working directory may often not be a huge space savings, 
but the lack of files in the working directory is a very obvious hint to other 
developers that the repository is in fact immutable and not meant for editing 
of any sort.

----------
messages: 1585
nosy: EricKow, WorldMaker, beschmi, droundy, tommy
priority: wishlist
status: unread
title: darcs get --no-working-directory

____________________________________
Darcs issue tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue431>
____________________________________
_______________________________________________
darcs-devel mailing list
[EMAIL PROTECTED]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to