diff options
Diffstat (limited to 'cvs.scm')
-rw-r--r-- | cvs.scm | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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/) |