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

Not recognizing binary file when adding gif file.

From: <smazzucato_at_ott-fortimail.com>
Date: 2005-05-04 21:31:16 CEST

I have the following directory structure:

A/B/C

and A/C is a soft link to A/B/C

With a gif file in A/B/C (such as A/B/C/d.gif and also viewable as A/C/d.gif )
when I do

svn add A/C/d.gif
I get

svn: 'C' is not a working copy

but the file is added as shown in the A/B/C/.svn/entries file.

doing a svn propget svn:mime-type A/B/C/d.gif
or svn propget svn:mime-type A/C/d.gif
returns nothing.

If instead I add the file as follows
svn add A/B/C/d.gif
i.e. not going through the soft link.

I get

A (bin) A/B/C/d.gif

and svn propget returns

application/octet-stream

My environment is

Gentoo 2005.0

svn, version 1.1.3 (r12730)
   compiled Mar 9 2005, 09:53:47

gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hope this helps.
Sandro

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 4 21:45:01 2005

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