cvs: Disable compression.

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

* guix/build/cvs.scm (cvs-fetch): Use -z0.
This commit is contained in:
Ludovic Courtès 2016-03-31 23:52:15 +02:00
parent ab83105bbe
commit f4033fb5da
1 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,10 @@
"Fetch REVISION from MODULE of CVS-ROOT-DIRECTORY into DIRECTORY. REVISION "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. must either be a date in ISO-8601 format (e.g. \"2012-12-21\") or a CVS tag.
Return #t on success, #f otherwise." 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 "-d" cvs-root-directory
"checkout" "checkout"
(if (string-match "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" revision) (if (string-match "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" revision)