The svn add myFolder command does not add binaries

I have strange, but possibly normal behavior.

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

Is this normal or is there a way to make two teams one?

+4
source share
3 answers

Given this almost completely opposite question , and the fact that I don’t remember a single problem, I would suggest that your repository has several attributes svn-ignorethat filter out certain types of files. In addition, the behavior is svn add xxx/*consistent because it explicitly targets all files one by one, and this, as far as I remember, bypasses svn-ignore.

So, I would say check your svn-ignores. Also, remember that they can be defined in each directory separately, and not just in the root folder of the repository, so it’s better to check both the current and all parent directories.

+3
source
svn add --no-ignore myFolder

This will add both normal and binary files.

+2
source

.

script :

#!/bin/sh
svn status | grep '^?' | awk '{print $2}'  | xargs svn add
svn status | grep '^!' | awk '{print $2}'  | xargs svn delete
svn commit -m ""
+1

All Articles