The problem is you're using svn add, not svn import. With the first try
the svn:ignore on the root doesn't block t1.txt from being added since
'svn add *' is the same as 'svn add foo bar t1.txt t2.txt <etc>', and
svn:ignore doesn't affect versioned files or directly adding an
unversioned file. And it doesn't block the t1.txt in the subdirectory
since svn:ignore isn't recursive (i.e. it only affects the direct
contents of the directory, not any subdirectories).
In the second case, the t1.txt in the root is added because you used
svn add for the same reason as above, and the subdirectory t1.txt was
ignored because of global-ignores.
So basically, you should use svn import, not svn add.
On Aug 21, 2004, at 8:45 AM, Frank Budszuhn wrote:
> Hi list,
> I tried working with ignores in subversion and it kinda confuses me.
> Here's my scenario:
Received on Sun Aug 22 22:26:12 2004
- application/pkcs7-signature attachment: smime.p7s