[darcs-users] Faster get proposal
Karel Gardas
kgardas at objectsecurity.com
Tue Dec 7 21:59:11 UTC 2004
Hello,
isn't checkpoint feature what you would like to use?
Please read `What do you do when you've got lots of patches and releases
in a repository?' on http://www.scannedinavian.org/DarcsWiki/BestPractices
Cheers,
Karel
On Tue, 7 Dec 2004, Einar Karttunen wrote:
> Hello
>
> Would the following scheme work for creating a fast way to get repos:
>
> On server a cron script would run:
> cd /my/temporary/location
> darcs get myrepo
> (cd myrepo && tar czf ../current.tar.gz *)
> mv myrepo.tar.gz myrepo/_darcs/
>
> And on the client side the get operation would be transformed to:
> fetch remoterepo/_darcs/current.tar.gz
> tar xzf current.tar.gz
> (cd remoterepo && darcs pull -a)
> And switch back to the old behavior whenever that would fail.
>
> - Einar Karttunen
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://www.abridgegame.org/mailman/listinfo/darcs-users
>
--
Karel Gardas kgardas at objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
More information about the darcs-users
mailing list