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).

-Larry Jones

It seems like once people grow up, they have no idea what's cool. -- Calvin

_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to