summaryrefslogtreecommitdiffstats
path: root/cvs.scm
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
commit5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch)
tree540afc30c51da085f5bd8ec3f4c89f6496e7900d /cvs.scm
parent8466d8cfa486fb30d1755c4261b781135083787b (diff)
downloadslib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz
slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'cvs.scm')
-rw-r--r--cvs.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/cvs.scm b/cvs.scm
index f1c853c..956178c 100644
--- a/cvs.scm
+++ b/cvs.scm
@@ -106,7 +106,7 @@
(else (slib:error 'mismatched root repos)))))))
;;@body
-;;Writes @1 to file CVS/Root of @2 and all its subdirectories.
+;;Writes @1 to file CVS/Root of @2.
(define (cvs-set-root! new-root directory/)
(define root (cvs-root directory/))
(define repos (cvs-repository directory/))
@@ -124,6 +124,12 @@
port))))
;;@body
+;;Writes @1 to file CVS/Root of @2 and all its CVS subdirectories.
+(define (cvs-set-roots! new-root directory/)
+ (for-each (lambda (dir/) (cvs-set-root! new-root dir/))
+ (cvs-directories directory/)))
+
+;;@body
;;Signals an error if CVS/Repository or CVS/Root files in @1 or any
;;subdirectory do not match.
(define (cvs-vet directory/)