Eric Gillespie epg@pretzelnet.org writes:
I have many of those files in global-ignores:
global-ignores = *.o *.lo *.la *.al .libs .so* .a #*# .*.rej *.rej .*~ *~ .#*
svn add should not add those files.
Jon Trowbridge just noticed this too; I think he was going to (maybe
has?) file an issue. Those ignores should be honored, yes.
Well, i was going to have a patch with this message, but it looks
like the ignore functionality is completely hidden in libsvn_wc.
It looks like it was expected that only svn status would need
this functionality. At least some of it should be exposed.
I was going to add a test to see if the item is to be ignored in
libsvn_client/add.c:add_dir_recursive right after the check for
'.svn', '.', and '..'. But to do that i need a function like
svn_wc_is_ignored.
Of course, another way to do it would be to have svn_wc_add call
get_default_ignores and check for this itself. But that seems
the wrong place to do it, to me. Furthermore, i still think
libsvn_wc should expose the ignore functionality. Even if it
turns out the svn program never does anything with it, other
clients may find it useful.
How does that sound?
Yes, it sounds good to me. Let's make it public. Still planning to
write the patch?
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:08:01 2006