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

Re: Difference between 'svn update' and 'svn checkout'

From: Geoff Hoffman <ghoffman_at_cardinalpath.com>
Date: Sat, 12 Nov 2011 14:12:42 -0700

Wellington, are you by any chance trying to update your development server
working copy with your post-commit hook? I'd recommend svn update or svn
update --force over checkout simply due to the fact that it only brings
changed files, not the whole repository (save network bandwidth, time, etc.)

If the dev server wc is on the same server as your svn it should be as
simple as

cd /var/www/path/to/wc
svn update .

That said, I've never fiddled with hook scripts; only read about them.

I'd love to see how you did this since I'd use it too... I just haven't
gotten around to it.
Received on 2011-11-12 22:13:19 CET

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.