[Top][All Lists]

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

Re: Loginfo and Exit with a non-zero value

From: Franck Marchand
Subject: Re: Loginfo and Exit with a non-zero value
Date: Fri, 7 Dec 2001 10:39:48 +0100

Thank you for your help.

I agree with you but if you read the Foguel's documentation, there is :


If PROGRAM exits with nonzero status, the commit fails; otherwise, it
succeeds. (See also the Shared Syntax section in this chapter.)

I think it's an error in this documentation. But I wanted to be sure.

I try to do 2 commits in the same time. Do you know if it's possible ?
I do the first commit, to trig my program.
And my program wants to do a second commit on the same file. (but the source
come from elsewhere)

I try to rename the #cvs.lock etc, and the second commit begins to run but
fail in abend with this message :
cvs [commit aborted]: cannot rename file c:\Cvs\CvsRepository/TestWin/,titi,
to c:\Cvs\CvsRepository/TestWin/titi,v: File exists.
(titi is the file name).
Do you know if it's possible to synchronize 2 cvs servers before a user
commit ?

"Larry Jones" <address@hidden> a écrit dans le message de news:
> Franck Marchand writes:
> >
> > I've a problem when my C program return 1. (My program is trigged from
> > loginfo file.
> >
> > Normaly ,when I return '1',  the commit fails (See in Foguel's
> > documentation).
> > But the commit is already do !
> > And WinCvs displays the result but doesn't nothing.
> >
> > This is an error in the documentation or no ?
> I think you're confusing the commitinfo file and the loginfo file.  It's
> commitinfo (and verifymsg) that allows you to permit or deny the commit;
> loginfo only records log information after the fact.
> -Larry Jones
> I don't NEED to compromise my principles, because they don't have
> the slightest bearing on what happens to me anyway. -- Calvin

reply via email to

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