I am trying set the svn:global-ignores property for several unversioned files that exist in subdirectories.
If I run
svn propset svn:global-ignores dir/ignore-me.txt .
then svn st dir/ignore-me.txt
still indicates the file is unversioned with a question mark.
But If I cd into that directory first, then
svn propset svn:global ignores ignore-me.txt .
results in that file being correctly ignored (The status is "I" when I run svn st dir/ignore-me.txt
.
What is going on here? I see this behavior whether I ignore files individually or whether I ignore a list of files stored in a text doc. Why do I need to cd into a directory just to ignore a file?