[cvsnt] using commitinfo within CVSNT

Aaron Kynaston akynaston at novell.com
Tue Nov 11 04:24:42 GMT 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


How is this different then using .cvsignore?

>>> Suresh Venkateswaran <suresh.venkateswaran at us.ibm.com> 11/10/2003
8:44:11 PM >>>




Hello All,

I am using CVSNT 2.0.8 to set up a source repository for my team. We
need
certain files to be present in the directory structure on the client
side
but we want to prevent them from being checked in to the source
control
server. The files which we want to avoid adding to source control
follow a
certain naming convention, lets say Common*.xsd.

The simple approach to this is to point the commitinfo file to a
filtering
script that exits with a status of 1 if it finds any files being
committed
which match the file name pattern Common*.xsd. According to the
documentation, the list of all files being committed should be passed
to
the perl script as part of the ARGV array.

However, when I print out the ARGV array from within my Perl filtering
script, it contains the base directory which is being committed but no
file
name information. I am able to access the file list in the loginfo
file,
which follows the commitinfo file in the logical sequence, so I should
be
able to access this information somewhere at the commitinfo stage!!

This seems to be a bug, and I havent found any workarounds after hours
of
scouring the internet. Does anyone have any ideas how to get around
this?

Thanks,
Suresh Venkateswaran

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook 
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook