[UPHPU] automatic SVN management on one directory

Steve Sawaya ss at pobox.com
Mon Oct 22 15:43:01 MDT 2007


Wade,

The output from "svn status" should give you the information you need  
to parse out any needed "svn add" or "svn delete" commands. It has a  
nice consistent and easy to parse output format. I believe it will  
even output XML if you want it to.

Steve

Oh.. and..  Hi all. :)

On Oct 22, 2007, at 3:24 PM, Wade Preston Shearer wrote:

>> Svn won't commit anything if there are no changes, so can't you  
>> safely put the svn checkin on a cron job:
>>
>> svn ci -m "This is the hourly checkin."
>
> Yes, that should work. The part that is tricky is "svn add" and svn  
> delete". I need to have a list of the files that need to be added  
> and removed before I can commit the changes. That is the reason  
> that I was thinking of having the two directories so that I have  
> something to run a comparison on and generate an array of filenames.
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net



More information about the UPHPU mailing list