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

Re: Update script

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-07 03:14:02 CET

On Feb 5, 2007, at 16:15, Josh Ricker wrote:

> I am trying to find a script that will update my repository. What
> I am trying to do is have a batch file
>
> This is my setup:
>
> I have a windows server that is hosting my PHP code. I have a
> checked out copy of the code that is being served in the web root
> as my live site. I have LAN access to this server, so I do all of
> the editing of the pages in the web root on a drive that is mapped
> to the server. When I save files that I have edited, they are then
> live to the web.
> But, the disadvantage of doing it this way is that the repository
> is not updated. I have to login to the server and commit my
> changes to make sure the SVN server is always up to date.
>
> I would like to automate the commit and update process on the
> checked out copy of the code on the serf.
>
> Are there any tools or scrips to d this?

I'm not going to directly answer your question because that's not a
good way of working. Rather, you should have a separate working copy
for you that you can develop in and test your changes, then commit
them to the repository when you're good and ready. If you like, you
can configure your repository with a post-commit hook which auto-
updates your live site after every commit. These topics are covered
in various and sundry existing mailing list posts available at http://
svn.haxx.se/users/

-- 
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 Wed Feb 7 03:14:23 2007

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.