I'm trying to write script to log changes in cvs it calling from CVSROOT/loginfo
DEFAULT /var/Disks/cvs/TEST/CVSROOT/test.pl %{sVv} in test.pl just print its argument print "\$ARGV[0] = ".$ARGV[0]."\n"; now the cvs commands sequence cvs add -- 01 (in directory D:\WORK\CVS\TEST-vic-free\cvs_free\Module\) cvs add: scheduling file `01' for addition cvs add: use 'cvs commit' to add this file permanently ***** CVS exited normally with code 0 ***** cvs commit -m "no message" -- 01 (in directory D:\WORK\CVS\TEST-vic-free\cvs_free\Module\) RCS file: /var/Disks/cvs/TEST/Module/01,v done Checking in 01; /var/Disks/cvs/TEST/Module/01,v <-- 01 initial revision: 1.1 done $ARGV[0] = Module 01,NONE,1.1 ***** CVS exited normally with code 0 ***** cvs tag -b -- BRANCH 01 (in directory D:\WORK\CVS\TEST-vic-free\cvs_free\Module\) T 01 ***** CVS exited normally with code 0 ***** ============================================= I'm add new file named "01" to repository and make branch "BRANCH". ============================================= cvs update -P -r BRANCH -- 01 (in directory D:\WORK\CVS\TEST-vic-free\cvs_free\Module\) ***** CVS exited normally with code 0 ***** ============================================= I'm checked out file named "01" from branch "BRANCH". ============================================= '01' has been moved successfully to the recycle bin... cvs remove -- 01 (in directory D:\WORK\CVS\TEST-vic-free\cvs_free\Module\) cvs remove: scheduling `01' for removal cvs remove: use 'cvs commit' to remove this file permanently ***** CVS exited normally with code 0 ***** cvs commit -m "no message" -- 01 (in directory D:\WORK\CVS\TEST-vic-free\cvs_free\Module\) Removing 01; /var/Disks/cvs/TEST/Module/01,v <-- 01 new revision: delete; previous revision: 1.1 done $ARGV[0] = Module 01,1.1,NONE ***** CVS exited normally with code 0 ***** ============================================= I'm removed file named "01" from branch "BRANCH". BUT !!! My script received information about removing revision 1.1 and realy revision 1.1 remain in repository and revision 1.1.2.1 become dead ============================================= cvs log 01 RCS file: /var/Disks/cvs/TEST/Module/01,v Working file: 01 head: 1.1 branch: locks: strict access list: symbolic names: BRANCH: 1.1.0.2 keyword substitution: kv total revisions: 2; selected revisions: 2 description: ---------------------------- revision 1.1 date: 2005/04/12 13:41:19; author: victor; state: Exp; branches: 1.1.2; no message ---------------------------- revision 1.1.2.1 date: 2005/04/12 13:44:29; author: victor; state: dead; lines: +0 -0 no message ============================================================================ = ***** CVS exited normally with code 0 ***** Victor A. Prylipko [EMAIL PROTECTED] http://www.liniya.ru/ _______________________________________________ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs