Re: Auto add files in a directory?
From: Robert Guthrie <rguthrie_at_pobox.com>
Date: 2004-03-05 22:52:41 CET
Reviving an old thread, this is what I am planning for the /etc
Andrew A. Raines wrote:
My solution to this kind of thing is working out like this for my
1. Create a new directory:
2. As root on ripley:
Now, my /etc directory has a .svn dir, but no files are checked in.
3. Run this command (as root) to check things in:
4. Create a script, which either ends up in a cron job, which uses the
svn status | egrep "^\!" | sed -e 's/! *//' | xargs svn rm
The only difference being that I'm looking for exclamation marks &
Then the script will need to check the changes back in, to avoid
######## WARNING #######
Does anybody see any problems with this setup, assuming I do the right
---- P.S. I haven't delved into the idea of a client-side perl/python script that uses svn API calls to do this kind of thing... that would probably be better, but my way will at least get me started. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Fri Mar 5 22:53:14 2004 |
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.