[darcs-users] darcs get, but without _darcs?
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:
> 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
> 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
Iago Abal Rivas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the darcs-users