[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/110: build: svn-fetch: Use "svn export".
From: |
guix-commits |
Subject: |
02/110: build: svn-fetch: Use "svn export". |
Date: |
Wed, 24 Jul 2019 03:47:43 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit 6d668a16be4af017aacf8e20ecfa044b84d637d3
Author: Ricardo Wurmus <address@hidden>
Date: Mon Jul 8 18:34:39 2019 +0200
build: svn-fetch: Use "svn export".
* guix/build/svn.scm (svn-fetch): Use "svn export" instead of "svn checkout"
because it does not include the .svn directory and allows us to fetch single
files.
---
guix/build/svn.scm | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/guix/build/svn.scm b/guix/build/svn.scm
index 913f894..e3188ad 100644
--- a/guix/build/svn.scm
+++ b/guix/build/svn.scm
@@ -36,7 +36,7 @@
"Fetch REVISION from URL into DIRECTORY. REVISION must be an integer, and a
valid Subversion revision. Return #t on success, #f otherwise."
(apply invoke svn-command
- "checkout" "--non-interactive"
+ "export" "--non-interactive"
;; Trust the server certificate. This is OK as we
;; verify the checksum later. This can be removed when
;; ca-certificates package is added.
@@ -46,13 +46,6 @@ valid Subversion revision. Return #t on success, #f
otherwise."
(string-append "--password=" password))
'())
,url ,directory))
-
- ;; The contents of '.svn' vary as a function of the current status
- ;; of the repo. Since we want a fixed output, this directory needs
- ;; to be taken out.
- (with-directory-excursion directory
- (for-each delete-file-recursively (find-files "." "^\\.svn$"
#:directories? #t)))
-
#t)
;;; svn.scm ends here
- branch wip-texlive created (now 81ca461), guix-commits, 2019/07/24
- 01/110: gnu: texlive-union: Build font maps., guix-commits, 2019/07/24
- 02/110: build: svn-fetch: Use "svn export".,
guix-commits <=
- 04/110: build-system/texlive: Add texlive-origin., guix-commits, 2019/07/24
- 05/110: gnu: Add simple-texlive-package., guix-commits, 2019/07/24
- 09/110: gnu: Add texlive-hyphen-base., guix-commits, 2019/07/24
- 07/110: gnu: Add texlive-hyphen-package., guix-commits, 2019/07/24
- 08/110: gnu: Add texlive-unicode-data., guix-commits, 2019/07/24
- 06/110: gnu: Add hyph-utf8-scripts., guix-commits, 2019/07/24
- 03/110: guix: Add svn-multi-reference., guix-commits, 2019/07/24
- 12/110: gnu: texlive-dvips: Implement with simple-texlive-package., guix-commits, 2019/07/24
- 13/110: gnu: texlive-fonts-cm: Remove cm-type1., guix-commits, 2019/07/24
- 10/110: gnu: Add texlive-hyph-utf8., guix-commits, 2019/07/24