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

Problem with auto-prop feature and microsoft .mdb files

From: Jonathan Wallace <jonathan.wallace_at_gmail.com>
Date: 2006-08-03 19:06:56 CEST

Hello,
  I am attempting to add microsoft access files to a code repository. I am
attempting to use the auto-prop feature to set the property svn:needs-lock
and svn:mime-type to application/octet-stream for *.mdb *.mdw when these
file types are added to the repository. I've pasted the relevant portions
of my Subversion/config file below. Note, the pasted lines are the only
part of the config file that I've modified.

I've attempted to add a new .mdb file via the tortoisesvn client and the
command line svn client. Both svn clients respond in the same fashion with
the following error message:
svn: MIME type '"application/octet-stream"' ends with non-alphanumeric
character

I would expect with the config file attached below that the file types in
question should be scheduled to be added to the repository with no error
messages. If I disable the auto-prop feature and add the same filetype, it
is scheduled to be added with the svn:mime-type property set to
application/octet-stream.

I look forward to hearing any suggestions, recommendations or actions that I
should take.
  Sincerely,
  Jonathan Wallace

P.S. Here are a list of the applications and versions that I'm using.
TortoiseSVN 1.3.5, Build 6804 - 32 Bit
Subversion 1.3.2,
apr 0.9.7
apr-iconv 0.9.7
apr-utils 0.9.7
berkeley db 4.3.28
neon 0.25.4
OpenSSL 0.9.8a 11 Oct 2005
zlib 1.2.3

Pasted config file:
### Section for configuring miscelleneous Subversion options.
[miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
### Set log-encoding to the default encoding for log messages
# log-encoding = latin1
### Set use-commit-times to make checkout/update/switch/revert
### put last-committed timestamps on every file touched.
# use-commit-times = yes
### Set no-unlock to prevent 'svn commit' from automatically
### releasing locks on files.
# no-unlock = yes
### Set enable-auto-props to 'yes' to enable automatic properties
### for 'svn add' and 'svn import', it defaults to 'no'.
### Automatic properties are defined in the section 'auto-props'.
enable-auto-props = yes

### Section for configuring automatic properties.
[auto-props]
### The format of the entries is:
### file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?'). All entries which match will be applied to the file.
### Note that auto-props functionality must be enabled, which
### is typically done by setting the 'enable-auto-props' option.
# *.c = svn:eol-style=native
# *.cpp = svn:eol-style=native
# *.h = svn:eol-style=native
# *.dsp = svn:eol-style=CRLF
# *.dsw = svn:eol-style=CRLF
# *.sh = svn:eol-style=native;svn:executable
# *.txt = svn:eol-style=native
# *.png = svn:mime-type=image/png
# *.jpg = svn:mime-type=image/jpeg
# Makefile = svn:eol-style=native
*.sql = svn:keywords="Date Author Revision"
*.mdb = svn:needs-lock="yes";svn:mime-type="application/octet-stream"
*.mdw = svn:needs-lock="yes";svn:mime-type="application/octet-stream"
*.rpt = svn:needs-lock="yes";svn:mime-type="application/octet-stream"

-- 
Jonathan Wallace
Received on Thu Aug 3 19:09:29 2006

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