You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris Jensen <cj...@edex.com.au> on 2005/05/01 01:36:07 UTC

Re: Sysadmins - versioning config files

> Try setting the svn:ignore property for the files that damage your 
> repository.

Can you set svn:ignore for imports? I didn't think you could.

I'm using svn for my linux servers /etc.
I set it up back when it couldn't version symlinks (and I didn't know 
about asvn, but sure will be checking it out now), so I got around that 
by doing the following

svn mkdir ...repo/etc
cd /tmp/
svn co ...repo/etc
mv .svn/ /etc
cd /etc

"svn st" should now list everything in your /etc with a question mark.
As with import you can't just go "svn add *" because that will try and 
add the fifo's and stop (even if you svn:ignore them)
Instead for all the fifo's do
  svn propedit svn:ignore .
And add the FIFOs
Now svn st will not list those, so you can add everything else by doing
svn add `svn st | grep -v \? | cut -c 3-

Then svn ci
to check it in.

-- 
---------------------------------------------------------------------
Chris Jensen cjensen@edex.com.au

Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991

Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------