[darcs-devel] [issue431] darcs get --no-working-directory
Max Battcher
bugs at darcs.net
Sat Apr 14 14:54:43 PDT 2007
New submission from Max Battcher <me at worldmaker.net>:
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 <bugs at darcs.net>
<http://bugs.darcs.net/issue431>
____________________________________
More information about the darcs-devel
mailing list