info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dis-allow Commit check for $id$


From: Mark D. Baushke
Subject: Re: Dis-allow Commit check for $id$
Date: Wed, 02 Aug 2006 12:36:13 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Rich <address@hidden> writes:

> Thanks for quick response.  

> my commitinfo file does reference a script in the CVSROOT repository
> but there is no script present.

That will cause a commit failure if true.

> so there should be no check being done.
> this is my commitinfo file:
> 
> 
> usr /bin/true

All commits with the string usr in the pathname will work.

> DEFAULT /cvs/design_repository/CVSROOT/commitcheck.pl

All commits to any other module will run this script.

>  
> The commit check file dose not exist.

Then you will not be able to commit to any file other than those which
contain usr in the pathname

> 
> So something else is forcing the check for the key word. Any other
> place I might check?

CVSROOT/verifymsg might do something.

You should consider using the -t switch to trace what is happening:

  cvs -t commit -m 'Your log message' file-to-commit

the -t switch should tell you wish scripts are being run and with which
arguments. If you are using cvs 1.12.x, then multiple -t switches will
give you more detail.

> Just as a test If I remove the DEFAULT from commitinfo then no checks
> should be done correct?

Probably.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFE0P6tCg7APGsDnFERAjdJAKCBvSD5VG/i/GjMIRihxXyqLRaU2ACcCwoF
jSyHzMJVivYNn6AmZMUqEFE=
=Km9l
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]