[Top][All Lists]

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

Re: commitinfo - information about committed files

From: Shubhabrata Sengupta
Subject: Re: commitinfo - information about committed files
Date: Fri, 05 Apr 2002 11:19:23 +0530
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.9) Gecko/20020311

You can do both through commitinfo script though b) looks dangerous. commitinfo script has access to the file that is being checked in on the server side. You can do a cvs status to find out the branch information.


Moray B. Grieve wrote:

When I modify the commitinfo file to perform a check prior to a commit matching 
a regular expression, what information about the file can I obtain from the 
program executed?

As far as I can see all that is passed into the executable is the location of the directory, and a list of files being committed. Can I
a) find out what branch the file is being checked into
b) modify the contents of the file before the commit
I have a remote repository and all checkins occur via a client.

With many thanks for any feedback,

Moray Grieve

Info-cvs mailing list

reply via email to

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