aboutsummaryrefslogtreecommitdiffstats
path: root/cvs.scm
diff options
context:
space:
mode:
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/)