svn:ignore and add
From: Frank Budszuhn <mail_lists_at_budszuhn.de>
Date: 2004-08-21 14:45:58 CEST
Hi list,
I tried working with ignores in subversion and it kinda confuses me.
(Subversion 1.0.5 on Debian Linux)
Ok, I start with a project which is under version control. It's named
frank@zappa:~/myproject$
First I create a subdirectory named test:
frank@zappa:~/myproject$ mkdir test
I add this to the repository:
frank@zappa:~/myproject$ svn add test
And check it in:
frank@zappa:~/myproject$ svn ci test -m "testing"
Committed revision 33.
Ok, now I produce some test data:
frank@zappa:~/myproject$ cd test
Let's get status:
frank@zappa:~/myproject/test$ svn stat
Seems ok!
Now, I want to ignore t1.txt:
frank@zappa:~/myproject/test$ svn propset svn:ignore t1.txt .
Check it:
frank@zappa:~/myproject/test$ svn stat
The property change is not yet checked in, but the status is alright.
Now I want to add my new files to the repository:
frank@zappa:~/myproject/test$ svn add *
Huuuh? Shouldn't t1.txt be ignored???? Well, better try global-ignores then!
frank@zappa:~/myproject/test$ svn revert *
So now I go to my ~/.subversion/config and edit it like this:
...
And give it another shot:
frank@zappa:~/myproject/test$ svn add *
Ahhh, it ignores t1.txt in the subdirectory, but not in the main test
So, now come my questions:
- why doesn't svn:ignore work for me, what am I doing wrong?
Frank
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.