Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I've found <a href="http://samba.anu.edu.au/rsync/" rel="nofollow noreferrer">rsync</a> extremely useful for synchronizing directory trees across multiple systems. If you have shell access to your server from a development workstation, you can regularly check out code locally and run rsync, which will transfer only the files that have changed to the server.</p> <p>(This assumes a Unix-like environment on your development workstations. Cygwin will work fine.)</p> <pre><code>cd deploy svn update rsync -a . server:webdir/ </code></pre> <p>Your question sounds like you don't actually have any direct network access from your development workstations to your server, and what you're really looking for is a way to get Subversion to tell you which files have changed. <strong>svn export</strong> supports an argument to let you check out only the files that changed between particular revisions. From the svn help:</p> <pre><code> -r [--revision] arg : ARG (some commands also take ARG1:ARG2 range) A revision argument can be one of: NUMBER revision number '{' DATE '}' revision at start of the date 'HEAD' latest in repository 'BASE' base rev of item's working copy 'COMMITTED' last commit at or before BASE 'PREV' revision just before COMMITTED </code></pre> <p>You'll need to keep track of what the latest revision you copied to the server. Assuming it's SVN revision xxxx:</p> <pre><code>svn export -r xxxx:HEAD http://svn/ </code></pre> <p>Then simply copy the contents of the <em>deploy</em> directory to your server on top of the existing files.</p> <p>This won't handle deleted files, which may prove problematic in some environments.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload