On Apr 20, 2007, at 03:14, Jeff D wrote:
> On Thu, 19 Apr 2007, Ruslan Sivak wrote:
>
>> I would like to write a script to commit all unversioned/modified
>> files in a tree. We have a folder that we keep under svn that has
>> other subfolders, and users can upload images there. I would like
>> to set up nightly commits. I usually do it by hand using
>> TortoiseSVN, but due to the size of the folder this is becoming a
>> problem. I would also like to schedule it to run nightly. Is this
>> possible? I think Tortoise does an add and a commit, and it looks
>> like you need to specify the files for the add, so perhaps I would
>> need to somehow feed the output of the svn status command to svn
>> add? Russ
>
> I'm not sure what OS you are using, but if you have access sh/bash,
> here is a little script that does that. This just checks for files
> and directories that have been added or modified, also for files
> that have been marked for deletion. There are other states that it
> could check for as well, see svn help st for those and add away.
The official advice, however, is "don't do that":
http://subversion.tigris.org/faq.html#wc-change-detection
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 20 10:49:11 2007