W3C home > Mailing lists > Public > public-webfonts-wg@w3.org > July 2011

Re: CVS and binary files

From: Tal Leming <tal@typesupply.com>
Date: Mon, 4 Jul 2011 16:20:01 -0400
Cc: WOFF Working Group <public-webfonts-wg@w3.org>
Message-Id: <EA07E3BE-8C9C-46E3-8DFA-CA11454AA179@typesupply.com>
To: Chris Lilley <chris@w3.org>
Hi Chris,

I finally had a chance to work on this today and I noticed that the CVS status on my local .woff, .ttf and .otf files was "Needs Checkout". That prompted me to check the file types on the web:

	Keyword substitution: b (i.e.: CVS considers this a binary file)

I still tried to flag the local files as binary with:

	cvs admin -kb foo.ttf

When I checked the status on these it was "Up-to-date " and trying to commit the file didn't result in anything being uploaded. I checked out the files in Windows Vista using TortoiseCVS and I was able to install all of the fallback fonts without any errors. Now I'm wondering if the change to cvswrappers made the fix automatically.

If you have a chance, could you check out the files and see if the problem is resolved? If not, I'll make a new directory and start over.


On Apr 27, 2011, at 2:46 PM, Chris Lilley wrote:

> Hello Tal,
> The systems team has just now updated the cvs server 'cvswrappers' file to know about .woff .otf and .ttf as being binary files.
> http://dev.w3.org/cvsweb/CVSROOT/cvswrappers
> A new file should cvs add as binary, now. Please check and let us know if it doesn't work.
> For existing files, already cvs added as ASCII, I am told that 
>  cvs admin --binary foo.woff 
> will mark that file as having changed to binary. It can then be cvs committed to ensure that no CR/LF/CRLF mangling happens and no CVS keyword substitution takes place.
> If these both work then it should be possible to update in the current directory structure.
> If cvs admin doesn't do the trick but the new file add does work, then a new directory structure should fix the issues.
> Tracker, this relates to ACTION-85: Find out from mac users how to set binary in the commandline cvs
> -- 
> Chris Lilley   Technical Director, Interaction Domain                 
> W3C Graphics Activity Lead, Fonts Activity Lead
> Co-Chair, W3C Hypertext CG
> Member, CSS, WebFonts, SVG Working Groups
Received on Monday, 4 July 2011 20:20:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:16 UTC