[darcs-users] darcs get, but without _darcs?

Iago Abal iago.abal at gmail.com
Sat Aug 20 11:28:58 UTC 2011

I suppose you have SSH access to your work machine, so... maybe you should
use a standard backup tool (I think any of them will allow you to ignore
*/_darcs/*)? If you insist to use Darcs for such purpose then I hope a) or
b) may help you in some way

a) darcs get --lazy

> By default Darcs will copy every patch from the original repository.

This means the copy is completely independent of the original; you can

operate on the new repository even when the original is inaccessible.

If you expect the original repository to remain accessible, you can

use --lazy to avoid copying patches until they are needed (`copy on

demand').  This is particularly useful when copying a remote

repository with a long history that you don't care about.

b) darcs dist (this is command to run in the work machine, then you have to
"get" the tarball by scp or something)

> The `darcs dist' command creates a compressed archive (a `tarball') in

the repository's root directory, containing the recorded state of the

working tree (unrecorded changes and the _darcs directory are



On Fri, Aug 19, 2011 at 1:23 AM, Mukund Raghothaman <muxdevil.m at gmail.com>wrote:

> Hi,
> Yes, darcs optimize reduces the size, but only by about 10-15 MB. The
> repository is a large collection of pdf files - so that would be
> expected, wouldn't it? The entire _darcs/inventories folder is only
> about 2.9 KB in size. The giant is the 200 MB _darcs/pristine.hashed
> folder.
> Thanks,
> Mukund
> On Thu, 2011-08-18 at 21:15 -0300, Guillaume Hoffmann wrote:
> > Hi,
> >
> > is the _darcs folder that big even after running "darcs optimize" ?
> >
> > For even further size reduction, you can do a complete get of the
> > repository to another folder, and move this new copy to the original
> > location, this will remove more files than optimize (since as of now,
> > optimize does not get rid of useless files under the
> > _darcs/inventories subdirectory).
> >
> > g.
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users

Iago Abal Rivas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20110820/2e84a863/attachment.html>

More information about the darcs-users mailing list