[darcs-users] checkpoints in darcs-2 repositories
Eric Kow
kowey at darcs.net
Wed Nov 26 12:27:50 UTC 2008
Warning: my understanding of this is from 2007-04 and may
(or may not) be obsolete:
http://lists.osuosl.org/pipermail/darcs-devel/2007-April/005540.html
See David's reply too for details
On Wed, Nov 26, 2008 at 22:32:24 +1100, Trent W. Buck wrote:
> - get --partial on a darcs-1 repo copies patches since the last
> checkpoint.
Sounds right to me. It copies the one big checkpoint patch, applies
it and then applies subsequent patches
> - get --lazy on a darcs-2 repo copies *no* patches initially; all
> patches are copied on demand.
It copies pristine files, but no patches.
> - darcs-2 repos don't support --partial semantics, and for darcs-2
> repos --partial is probably an alias for --lazy behaviour.
I can confirm this point (it tells you explicitly this fact)
> Does this mean that checkpoints of a darcs-2 repo are totally useless?
> If so, can we please make darcs optimize --checkpoint on a darcs-2
> repository a no-op? Currently I have checkpoint in my ~/.darcs/defaults
> and so I'm creating around 20MB of checkpoints that (apparently) are
> never used.
Alternatively, as an optimisation we could consider making darcs 2
--lazy use checkpoints whenever they are possible. The purpose of the
checkpoint would be to avoid fetching individual files from pristine.
But if this is not feasible or wise, then I agree that making optimize
--checkpoint a no-op is sensible.
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081126/104c8e0a/attachment.pgp
More information about the darcs-users
mailing list