Oops, that should've been "(pwd; ls) >>/tmp/cvs-server.out" or whatever the
equivalent line is in your scripting language.
Noel
Noel L Yap
2000.06.10 08:24
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: Validating files while commiting them. (Document link not
converted)
You would use commitinfo, not loginfo, for pre-commit validation.
The server creates copies of the files under a /tmp directory specific to the
process (I think the name of the directory has the pid in it). What you can do
to find out more is to have "pwd; ls >>/tmp/cvs-server.out" placed in your
commitinfo script.
Noel
[EMAIL PROTECTED] on 2000.06.09 11:11:55
To: [EMAIL PROTECTED]
cc: (bcc: Noel L Yap)
Subject: Validating files while commiting them.
Hi!
I have some files that needs to satisfy a validation condition so that
I can work with them. I was thinking about disallowing people to
commit them if they don't pass a validation test.
I was wondering how could I get the file contents and validate it on
the server and them commit it. I was thinking about using a script on
the loginfo file, but I haven't found any info on de Cederqvist's
manual on how to get the file contents.
I'm using the "commit_prep" and "log_accum" scripts found on the
contrib directory for accounting.
Thanks!
--
Godoy. <[EMAIL PROTECTED]>
Departamento de Publica��es
Publishing Department Conectiva S.A.