I'm creating an ignore list on a Windows machine using the following command line:
svn propset svn:ignore "bin" Fardis.Test
The directory tree structure is:
\src\
\src\Fardis.Test\
\src\Fardis.Test\bin\
\src\Fardis.Test\obj\
I'm running that command while my current directory is \src
. This works fine, but I want to add another folder, \src\Fardis.Test\obj\
to the ignore list, but it fails. I tried the following:
svn propset svn:ignore "bin obj" Fardis.Test
svn propset svn:ignore "bin, obj" Fardis.Test
svn propset svn:ignore "bin; obj" Fardis.Test
After issuing which one of them, svn status
shows that none of folders bin or obj are added to the ignore list.
How can I solve this?
I usually create a .svnignore file. See svn:ignore Then do:
$ svn propset svn:ignore -F .svnignore .
property 'svn:ignore' set on '.'
.svnignore:
*.pyc
*~
EDIT: I add the .svnignore to the repo also to keep track of it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With