Page 1 of 1

Maybe I'm just tired, but svn:ignore won't work for me :(

Posted: Sat Feb 23, 2008 7:32 am
by Chris Corbyn

Code: Select all

w3style:swiftmailer d11wtq$ svn propget svn:ignore .
build
tests/acceptance.conf.php
tests/smoke.conf.php
 
w3style:swiftmailer d11wtq$ svn st
?      ignore.txt
?      build/Swift-4.0.0-dev
?      build/Swift-4.0.0-dev.tar.gz
?      tests/acceptance.conf.php
?      tests/smoke.conf.php
X      test-suite/lib/simpletest-svn
 
Performing status on external item at 'test-suite/lib/simpletest-svn'
w3style:swiftmailer d11wtq$
For all that the property is set (and I've committed and updated several times since) it continues to show files as unversioned when they should be ignored. Have I done something stupid with my property? :crazy:

Re: Maybe I'm just tired, but svn:ignore won't work for me :(

Posted: Sun Feb 24, 2008 7:45 pm
by Ambush Commander
It looks correct. What is your Subversion version?

Re: Maybe I'm just tired, but svn:ignore won't work for me :(

Posted: Sun Feb 24, 2008 8:12 pm
by Chris Corbyn

Code: Select all

w3style:swiftmailer_ee chris$ svn --version
svn, version 1.4.4 (r25188)
   compiled Sep 23 2007, 22:32:34
The weird thing is that I use the same svn client at work (i.e. I work on my own macbook in the office) and our svn:ignore rules work fine for me with exactly the same way of doing it :-\

While I was writing this thread I tried a different approach:

Code: Select all

svn propedit svn:ignore build  #Then typing *
svn propedit svn:ignore tests #The typing smoke.conf.php and acceptance.conf.php
That did the trick!

And in true embarassing style I have worked out why :P The "build" directory and the "tests" directory are under version control so you can't ignore them.