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

Re: Post comit hook website update

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-21 11:44:47 CET

On Mar 21, 2006, at 11:28, MrBr @ GMail wrote:

> There is some problems using your idea.
> 1) RSYNC is an Unix only program, it can't be used by Windows. Both
> of my servers are windows based.

Then perhaps that is a problem of your operating system and not of
the idea. Perhaps if your operating system does not offer the
facilities you require you should consider using a more-capable
operating system.

> 2) The servers aren't on the same network so I have to use somthing
> like FTP to transfer files.

rsync works fine across wide-area networks, but if you prefer FTP,
that's fine too. FTP is of course a wildly insecure protocol, so
you'd want to use SFTP or FTP over SSH or something similar.

> I thought to use post commit script to send the file over the ftp,
> but the post comit scrip is provided only with the folloing
> arguments "the path to the repository, and the new revision number
> that was created" (accoring to the manual).
> Is there any way to know wich files were changed and to transfer
> them maintaing the directory sructure?

Sure you can determine what files were changed. That's what the
svnlook program is for.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 21 11:47:18 2006

This is an archived mail posted to the Subversion Users mailing list.