mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
cvs: Disable compression.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>. * guix/build/cvs.scm (cvs-fetch): Use -z0.
This commit is contained in:
parent
ab83105bbe
commit
f4033fb5da
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@ (define* (cvs-fetch cvs-root-directory module revision directory
|
|||
"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)
|
||||
|
|
Loading…
Reference in a new issue