[darcs-users] Faster get proposal

Einar Karttunen ekarttun at cs.helsinki.fi
Tue Dec 7 19:19:35 UTC 2004


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




More information about the darcs-users mailing list