diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-31 23:52:15 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-04-01 00:05:42 +0200 |
commit | f4033fb5da9f07dce2b8049b1d7214c492790581 (patch) | |
tree | 9be7be1a4c06eac93fba92eabbaf00db35412995 | |
parent | ab83105bbe93cdaf10c4bdb4655428a2df8c7e24 (diff) | |
download | guix-f4033fb5da9f07dce2b8049b1d7214c492790581.tar guix-f4033fb5da9f07dce2b8049b1d7214c492790581.tar.gz |
cvs: Disable compression.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.
* guix/build/cvs.scm (cvs-fetch): Use -z0.
-rw-r--r-- | guix/build/cvs.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/build/cvs.scm b/guix/build/cvs.scm index 033b626b96..9976e624b3 100644 --- a/guix/build/cvs.scm +++ b/guix/build/cvs.scm @@ -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) |