info-cvs
[Top][All Lists]
Advanced

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

RE: .dfm files check in as text in CVS leads to any corruption?


From: Alexandre Augusto Drummond Barroso
Subject: RE: .dfm files check in as text in CVS leads to any corruption?
Date: Wed, 1 Sep 2004 15:31:00 -0300

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of
> Larry Jones
> Sent: Tuesday, August 24, 2004 11:26 PM
> To: Mark D. Baushke
> Cc: address@hidden
> Subject: Re: .dfm files check in as text in CVS leads to any 
> corruption?
> 
> Mark D. Baushke writes:
> > 
> > If there are "Delphi/C++Builder Forms", I would
> > have thought those to be derived objects rather
> > than primary source files to be controlled.
> 
> No, the .dfm file is the actual definition of the form.  By default,
> Borland stores it in an opaque binary format for no apparently good
> reason, but, to their credit, they also provide an option to store it
> in a nice, plain text format that is amenable to CVS operations.
[snip]

Hmmmm. This information is not accurate. By default, Borland stores it in
*text* format, not binary, at least since May 2001, when it released 
Delphi 6. Of course if Mr. Baushke is still using Delphi 5, you're right.

The company I work for have been developing systems using Delphi since it's
first incarnation, and the forms were all binary. Of course, during the
migration from Delphi 4 to Delphi 6, I had to create a cvs repository to be
used as backup repository of all forms in binary format, and since we were
also migrating from Merant PVCS to CVS, I altered the PVCStoCVS perl script to 
convert every dfm to its text format before adding a release of a dfm to its
RCS file.

Alexandre.




reply via email to

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