-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Thursday 31 January 2002 21:15 schrieb Larry Jones: > Malte Starostik writes: > > In our project there are quite a few binary files that are needed in > > their binary form but can easily converted to text by a small program. > > So, I'd like to keep them in CVS in a text form to enable diffing, > > merging etc. but have a checkout/update deliver the binary version and a > > commit accept the binary form. So basically, when committing such a file, > > it should be converted from binary to text by a custom filter program and > > on update/checkout the conversion be reverted. > > I'd suggest turning your head around and thinking of the text form as > the actual source file that's checked out and committed. Have your > build process turn the text form into the binary form as required for > running (just like it turns program source files into an executable), > and never check it in (just like you don't check in executables). Hmm, I thought about that too, it'll be a little troublesome though. Those files are Delphi forms (*.dfm), Delphi writes them as binary streams and expects them in that form as well, so they are "sources", just not very well manageable with CVS :( So, while the conversion to/from text is rather simple, it's not possible to use the textual form with Delphi (at least in 3.0), the binary version is the canonical format unfortunately. - -- Malte Starostik PGP: 1024D/D2F3C787 [C138 2121 FAF3 410A 1C2A 27CD 5431 7745 D2F3 C787] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org
iD8DBQE8WanMVDF3RdLzx4cRAj6+AKCaz8GfnmjK5IxXFB/YeglU4q0ZMwCfUFr5 GsVQU7KSLK2IAYQ2XnrmuNI= =6JKy -----END PGP SIGNATURE----- _______________________________________________ Bug-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-cvs
