[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Sysadmins - versioning config files

From: Chris Jensen <cjensen_at_edex.com.au>
Date: 2005-05-01 03:36:07 CEST

> 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/
---------------------------------------------------------------------

Received on Sun May 1 03:37:56 2005

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.