[cvsnt] Trying to implement commit template

Arthur Barrett arthur.barrett at march-hare.com
Tue Jan 29 20:15:58 GMT 2008


Matthew,

> Has anyone here gotten this to work? 

Since the previous links I sent you were for the same OS and CVSNT version and those users stated they did get it working - the answer is yes.  If you look through posts just after that someone else has a different problem and they too get it working.  So it's definitely something unique to your setup.

Just to rule out everything else:
1. create a new repo and import a module (eg: repo 'testrepo' module 'test')
2. checkout CVSROOT from the new repo 
3. add template.txt to the checkoutlist file
4. create the template.txt file (in the CVSROOT sandbox)
5. 'cvs add' the template.txt file to the CVSROOT sandbox
6. the add an example line to the rcsinfo file from the previous newsgroups postings, eg: something like:
DEFAULT  C://myCVS//testrepo//CVSROOT//template.txt

7. commit the CVSROOT sandbox (will commit checkoutlist, template.txt and rcsinfo)
8. checkout the 'test' module
9. check that template.txt is in the hidden CVS directories
10. if template.txt isn't checked out then delete the 'test' sandbox and re-checkout using cvs -ttt co and go through the logfile looking for template.txt or other errors.

Regards,


Arthur






More information about the cvsnt mailing list