You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonathan Wallace <jo...@gmail.com> on 2006/08/03 17:06:56 UTC
Problem with auto-prop feature and microsoft .mdb files
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
Re: Problem with auto-prop feature and microsoft .mdb files
Posted by Andy Levy <an...@gmail.com>.
On 8/3/06, Jonathan Wallace <jo...@gmail.com> wrote:
> 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.
Your issue has been resolved, and this may seem like nitpicking, but
there's a more specific MIME-Type you can use for MDB files that may
help you in handling them down the line (especially if you're browsing
the repository via HTTP, using a browser that properly checks &
handles mime-types such as IE). See
http://filext.com/detaillist.php?extdetail=mdb
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Problem with auto-prop feature and microsoft .mdb files
Posted by Jonathan Wallace <jo...@gmail.com>.
Robert,
That was it. Thank you for the insight. I appreciate it.
Jonathan
On 8/3/06, Robert Wenner <ro...@atsec.com> wrote:
>
> On Thursday 03 August 2006 12:06, Jonathan Wallace wrote:
> > svn: MIME type '"application/octet-stream"' ends with non-alphanumeric
> > character
>
> > # *.png = svn:mime-type=image/png
>
> > *.mdb = svn:needs-lock="yes";svn:mime-type="application/octet-stream"
>
> See the difference?
> Quotes are not alpha-numeric; have you tried without quotes?
> (Note also that the error messages has more quotes than one would expect,
> so I guess svn assumes the quotes belong to the mime type.)
>
> Take care,
>
> Robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
--
Jonathan Wallace
Re: Problem with auto-prop feature and microsoft .mdb files
Posted by Robert Wenner <ro...@atsec.com>.
On Thursday 03 August 2006 12:06, Jonathan Wallace wrote:
> svn: MIME type '"application/octet-stream"' ends with non-alphanumeric
> character
> # *.png = svn:mime-type=image/png
> *.mdb = svn:needs-lock="yes";svn:mime-type="application/octet-stream"
See the difference?
Quotes are not alpha-numeric; have you tried without quotes?
(Note also that the error messages has more quotes than one would expect,
so I guess svn assumes the quotes belong to the mime type.)
Take care,
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org