bug-cvs
[Top][All Lists]
Advanced

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

Re: failure_exit not cleared in client.c


From: Ian Lance Taylor
Subject: Re: failure_exit not cleared in client.c
Date: 02 Oct 2001 14:12:57 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

"Derek R. Price" <dprice@collab.net> writes:

> Vesa Suontama wrote:
> 
> > What are the conditions, that make a file unpatchabe at the first update
> > pass?
> 
> I don't know.  That's why I asked you.

A typical case is that the file is somehow modified after the CVS
process starts, so the application of the patch fails.  Another is
that the file contains binary data, but is not marked as -kb, and
patch gets confused.

When I wrote the code originally, CVS would invoke patch as a separate
program.  That could fail in various ways, so I added the second loop
as a fallback so that cvs update would work correctly even if patch
failed.

Ian



reply via email to

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