Hi!

VisualSVN  doesn't add any default properties to files by itself.

Theoretically you could have problem with incorrect Subversion settings.

Please try the following:

* Select Tools-> Options in Visual Studio main menu and open VisualSVN section,
* Click there "TortoiseSVN Settings" link
* Press "Edit" for "Subversion Configuration File" on the General Tab
* Find the MIME settings in the opened window

E.g. the following section

[[
[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 (case-insensitively) 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
]]


On Mon, Mar 16, 2009 at 4:37 PM, Adontz <ado...@gmail.com> wrote:
>
> Hello,
>
> When I add new C# file (cs extension) to project, that files gets
> "svn:mime-type" property set with value of "application/octet-stream".
> This is not expected behavior.
>
> When I add the same file using TortoiseSVN installed no properties are
> set to.
>
> I use two PCs, both are affected
>
> Vista x64 SP1
> Visual Studio 2008 SP1
> VisualSVN 1.6.3
>
> Windows XP SP3
> Visual Studio 2008 (no service pack)
> VisualSVN 1.5.2
>



-- 
Olga Dolidze
VisualSVN Support

Reply via email to