Our build system generates several files that are scattered throughout the source tree.
These files are displayed when svn status starts.
In the example below, all files with the symbol '?' in the thirdparty directory were created by the build system.
eg.
svn status M common/db/unit_test/src/db_payload_builder_test_suite.cpp ? common/db/unit_test/Makefile M common/lib/osal/variant/linux/public_inc/osal_specific_msgq.hpp M common/lib/enb/public_inc/enb_service.h ? thirdparty/lib/curl/public_inc_arm ? thirdparty/lib/curl/public_inc_x86 ? thirdparty/lib/curl/originals/config.log ? thirdparty/lib/curl/originals/libcurl.pc ? thirdparty/lib/curl/originals/config.status ? thirdparty/lib/curl/originals/libtool ? thirdparty/lib/curl/originals/curl-config ? thirdparty/lib/curl/originals/src/curl
I would like to tell svn ignore these files. I cannot just specify directories that should be ignored, since many of these directories contain sources that are checked in the repository.
The above example is a subset of the generated files, we cannot use the ignore pattern because some of the generated files correspond to files that we do not want to ignore (for example, xxx_.h ")
I tried using svn propset svn:ignore 'somefile' dir , but I can only tell svn to ignore one specific file in the directory.
How can I specify several specific files for svn to ignore?
source share