top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

SVN Add .xml file works fine on ubuntu but not on fedora?

+1 vote
1,001 views

I am using Fedora 20, subversion 1.8.5-2. In ~/.subversion/config I have

[miscellany]
enable-auto-props = yes

[auto-props]
*.xml = svn:eol-style=native; svn:keywords=Author Date Id Revision

When I do

svn add my.xml
svn: E200009: Can't set 'svn:eol-style': file '/data/mysvn/trunk/my.xml' has binary mime type property

But with Ubuntu 12.10/subversion 1.7.5-1 svn add my.xml works just fine.

Any idea why the behavior is different?

posted Feb 28, 2014 by Ahmed Patel

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote
 
Best answer

The Fedora build might have libmagic support to automatically detect the mime type. Does

 MAGIC= svn add my.xml

work?

answer Feb 28, 2014 by Jai Prakash
Yep, this works fine.
+1 vote

The version on Fedora is probably using libmagic which thinks all XML files should have MIME-type application/xml. I suggest you prepend "svn:mime-type=text/xml;" to your "*.xml" line in the auto-props.

answer Feb 28, 2014 by Garima Jain
Similar Questions
0 votes

I am moving from Fedora to Ubuntu.
In Fedora , running "which AliasName" shows the alias.

For example, if I have

$alias myAlias='echo test'

$which myAlias
alias myAlias='echo test'
 /usr/bin/echo

In Ubuntu, this does not work.

After:
alias myAlias='echo test'
Runnin:
$which myAlias

shows nothing.

Any idea - is there any setting or any way to get the same result as in Fedora ?

+1 vote

Is there a virtualized guest kernel for Fedora as there is Linux-Image-Virtual for Ubuntu?

+2 votes

I installed wireshark on my F20/Gnome notebook, and yum has kept it updated:

# grep wire yum*
Jan 28 12:34:15 Installed: wireshark-1.10.5-1.fc20.x86_64
Feb 21 20:15:51 wireshark-1.10.5-2.fc20.x86_64: 100
Feb 21 22:06:04 Updated: wireshark-1.10.5-2.fc20.x86_64
Feb 27 13:16:45 Updated: wireshark-1.10.5-3.fc20.x86_64
Mar 21 19:09:59 Updated: wireshark-1.10.6-1.fc20.x86_64
Mar 28 18:31:25 Updated: wireshark-1.10.6-2.fc20.x86_64

Wireshark does not show as an application. I don't see a bin for wireshark, only a bunch of libs. What may be missing here?

+1 vote

I've followed the instructions to install the flash plugin by downloading the
YUM version and then installing the RPM. I got no errors when doing any of
this. However, flash still does not work in Firefox. If I do 'about:plugins'
it isn't listed.

Any suggestions on what to try next. All I'm getting from Google is variations
of the same instructions I've already done.
$ uname -a
Linux gary.ringways.co.uk 3.8.13-100.fc17.x86_64 #1 SMP Mon May 13 13:36:17
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa|grep firefox
firefox-21.0-3.fc17.x86_64
$ rpm -qa|grep flash
flash-plugin-11.2.202.285-release.i386
$ ll /usr/lib/mozilla/plugins
total 172
lrwxrwxrwx. 1 root root 39 Jun 6 13:21
libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
-rwxr-xr-x. 1 root root 176032 May 15 10:53 nppdf.so

0 votes

I have an Ubuntu VDI image (created through Virtual box) in one laptop and want to install Ubuntu on bare metal using this VDI image.
Is it possible ?

...