~ruther/guix-local

f4033fb5da9f07dce2b8049b1d7214c492790581 — Ludovic Courtès 10 years ago ab83105
cvs: Disable compression.

Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* guix/build/cvs.scm (cvs-fetch): Use -z0.
1 files changed, 4 insertions(+), 1 deletions(-)

M guix/build/cvs.scm
M guix/build/cvs.scm => guix/build/cvs.scm +4 -1
@@ 52,7 52,10 @@
  "Fetch REVISION from MODULE of CVS-ROOT-DIRECTORY into DIRECTORY.  REVISION
must either be a date in ISO-8601 format (e.g. \"2012-12-21\") or a CVS tag.
Return #t on success, #f otherwise."
  (and (zero? (system* cvs-command "-z3"
  ;; Use "-z0" because enabling compression leads to hangs during checkout on
  ;; certain repositories, such as
  ;; ":pserver:anonymous@cvs.savannah.gnu.org:/sources/gnustandards".
  (and (zero? (system* cvs-command "-z0"
                       "-d" cvs-root-directory
                       "checkout"
                       (if (string-match "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" revision)