[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "textual binary" MIME types (was Re: file locking and binary files)

From: Sebastien Cevey <seb_at_cine7.net>
Date: 2002-11-18 22:47:38 CET

On Mon, Nov 18, 2002 at 03:46:50PM -0600, kbrannen@gte.net wrote:

> Not that we have to do it the CVS way, but I recall a file in
> /<cvsroot>/CVSROOT that held patterns for binary file names (I'd go
> look it up but I've already deleted my last CVS install. :-)

Are you talking about this file :

----------------8<------------------
[seb@sirius CVSROOT]$ cat cvswrappers
# This file affects handling of files based on their names.
#
# The -t/-f options allow one to treat directories of files
# as a single file, or to transform a file in other ways on
# its way in and out of CVS.
#
# The -m option specifies whether CVS attempts to merge files.
#
# The -k option specifies keyword expansion (e.j'ai. -kb for binary).
#
# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers)
#
# wildcard [option value][option value]...
#
# where option is one of
# -f from cvs filter value: path to filter
# -t to cvs filter value: path to filter
# -m update methodology value: MERGE or COPY
# -k expansion mode value: b, o, kkv, &c'est
#
# and value is a single-quote delimited value.
# For example:
#*.gif -k 'b'
[seb@sirius CVSROOT]$
--------------8<---------------------

Sounds like it, although it doesn't care for mime-type but file
pattern of course.

Anyway, I think an external (and possibly modifiable) type list would
be a lot cleaner than a hard coded list. It would also allow people
using "custom" (cute name for non-standard) mime-types to specify
their own file handling.

But the main idea is really nice ! :)

-- 
Sebastien Cevey <seb@cine7.net>
Cine7 - www.cine7.net
Milcis - www.milcis.net
ICQ: 48895760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 18 22:53:35 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.