Commit 62d036b57a7f5639525cc1bb6495480c6388fd20

Thomas de Grivel 2017-07-13T18:24:14

Ignore missing svn

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/repo.lisp b/repo.lisp
index a0e9d99..1bba699 100644
--- a/repo.lisp
+++ b/repo.lisp
@@ -361,7 +361,7 @@
 (defvar *svn*
   #+unix (or (probe-file "/usr/bin/svn")
              (probe-file "/usr/local/bin/svn")
-             (first-line (sh "which svn"))))
+             (first-line (ignore-errors (sh "which svn")))))
 
 (defun $svn (&rest args)
   (apply 'run-program *svn* args))