Subject: [PATCH] Reproducible svn checkouts
From: Julien Lepiller <[email-masked]>
To: [email-masked]
Date: Fri, 27 Jul 2018 12:36:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Some svn checkouts have sub-repositories that have their own .svn
folder. These folders contain timestamps, so this patch removes
every .svn folder in the result of the checkout, instead of only the
top-level one.
From 93aa06821d62ba902d6b3fbf5ece0cbb9d9ec797 Mon Sep 17 00:00:00 2001
From: Julien Lepiller <[email-masked]>
Date: Fri, 6 Jul 2018 18:32:50 +0200
Subject: [PATCH] guix: svn: Remove all .svn folders.

* guix/build/svn.scm (svn-fetch): Remove all .svn folders as they contain
timestamps.
---
 guix/build/svn.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/svn.scm b/guix/build/svn.scm
index 252d1d4ee..41bbfdc87 100644
--- a/guix/build/svn.scm
+++ b/guix/build/svn.scm
@@ -51,7 +51,7 @@ valid Subversion revision.  Return #t on success, #f otherwise."
   ;; of the repo.  Since we want a fixed output, this directory needs
   ;; to be taken out.
   (with-directory-excursion directory
-    (delete-file-recursively ".svn"))
+    (for-each delete-file-recursively (find-files "." "\\.svn")))
 
   #t)
 
-- 
2.18.0