info-cvs
[Top][All Lists]
Advanced

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

Re: How well does CVS handle other types of data?


From: James Youngman
Subject: Re: How well does CVS handle other types of data?
Date: 29 Jul 2001 11:57:25 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

address@hidden (Greg A. Woods) writes:

> [ On Friday, July 20, 2001 at 21:49:55 (-0700), Pyatt, Scott wrote: ]
> > Subject: RE: How well does CVS handle other types of data?
> >
> > As with CVS, TCCS sits on top of RCS and therefore, you still have many of
> > the same issues with binary files.

> Or, IIRC, on top of SCCS, which has its own issues with binary
> files....  :-)

> (SCCS can't properly handle a file with no trailing newline, for
> example, and there may be some other corner cases with ^A too....)

The only other case I am aware of is where a "text" file includes the
sequence \012\001 anywhere in it - this will go horribly wrong.  If
you do this with Sun's SCCS when checking in the first delta (usually
1.1) it will almost always recover by swiching to binary mode.  If
you're not checking in the intiial delta, you can't recover. 

The only case I'm aware of for binary (i.e. Sun-style encoded) files
is where you feed in a binary file to "admin -i" via stdin and it
turns out to be binary but you didn't specify "-fb" on the command
line.

I suspect that you might be able to louse things up by feeding in
\012\001T as part of a delta comment, but I've never tried that. 

-- 
James Youngman
Manchester, UK.  +44 161 226 7339
PGP (GPG) key ID for <address@hidden> is 64A95EE5 (F1B83152).



reply via email to

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