Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"svn add myFolder" command don't add binary files

I've a strange but maybe normal behavior.

When I do a "svn add myFolder", it adds the folder with all the files inside expected binary files.
I have to do a "svn add myFolder/*" as second command to add the missing binaries, but it raise error about the other already added files.

Is this normal or there is a way to do the two command as one ?

like image 467
David 'mArm' Ansermot Avatar asked Oct 10 '14 10:10

David 'mArm' Ansermot


2 Answers

svn add --no-ignore myFolder

This will add both normal and binary files.

like image 136
Marc Duflot Avatar answered Sep 28 '22 06:09

Marc Duflot


Considering this almost perfectly opposite question, and the fact I don't remember any issue like that, I'd guess your repository has some svn-ignore attributes set that filter some file types out. Also, the behaviour of svn add xxx/* matches, since it explicitely targets all the files one after another, and this as far as I remember would bypass the svn-ignore.

So.. I'd say, check your svn-ignores. Also, remember that they can be defined on each directory separately, not only at the root folder of the repository, so better check your current and all parent directories as well.

like image 22
quetzalcoatl Avatar answered Sep 28 '22 07:09

quetzalcoatl