summaryrefslogtreecommitdiffstats
path: root/cvs.txi
blob: fed8ba887a98399da7ec813dd0cffd243bda856d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

@defun cvs-files directory/
Returns a list of the local pathnames (with prefix @var{directory/}) of all
CVS controlled files in @var{directory/} and in @var{directory/}'s subdirectories.
@end defun


@defun cvs-directories directory/
Returns a list of all of @var{directory/} and all @var{directory/}'s CVS controlled
subdirectories.
@end defun


@defun cvs-root path/
Returns the (string) contents of @var{path/}CVS/Root;
or @code{(getenv "CVSROOT")} if Root doesn't exist.
@end defun


@defun cvs-repository directory/
Returns the (string) contents of @var{directory/}CVS/Root appended
with @var{directory/}CVS/Repository; or #f if @var{directory/}CVS/Repository
doesn't exist.
@end defun


@deffn {Procedure} cvs-set-root! new-root directory/

Writes @var{new-root} to file CVS/Root of @var{directory/}.
@end deffn


@deffn {Procedure} cvs-set-roots! new-root directory/

Writes @var{new-root} to file CVS/Root of @var{directory/} and all its CVS subdirectories.
@end deffn


@defun cvs-vet directory/

Signals an error if CVS/Repository or CVS/Root files in @var{directory/} or any
subdirectory do not match.
@end defun