info-cvs
[Top][All Lists]
Advanced

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

Re: RE: Re: binary file's import & checkout


From: Larry Jones
Subject: Re: RE: Re: binary file's import & checkout
Date: Fri, 27 Jul 2001 14:23:06 -0400 (EDT)

Martin Eismann writes:
> 
> As you can read above: There are differences in the file-structure....  This
> means that VMS-Clients are still having problems in handling binary files,
> or not?

CVS cannot, in general, store record-structure files where the record
structure is significant.

> As a result I would recommend that future versions of (VMS-)clients should
> be adapted to handle such actions correctly. In VMS you can open files in
> almost every record-structures...

It's not that simple.  You need to get and store all of the record
structure information, then you have to arrange to read the raw bits
from the file ignoring the record structure, and then reverse the
process when writing.  How one does diffs on that, I haven't a clue. 
It's also not at all clear how such a file should be handled when
extracting and/or modifying on a different system.

> SHOULD THIS BEHAVIOUR BE HANDLED AS A CVS-BUG?

I think it's a fundamental design limitation.

> Another way would be to convert a checked-out binary form-file to the
> original structure with VMS-command CONVERT....

In general, that won't work because there's no way to differentiate
newline characters that are supposed to represent record boundaries from
newline characters that are part of a record's (binary) data.

-Larry Jones

Temporary insanity!  That's all it was! -- Calvin



reply via email to

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