Re: How to push updates to a development server?
From: Allen Fowler <allen.fowler_at_yahoo.com>
Date: Sun, 17 May 2009 12:03:03 -0700 (PDT)
Right now, I'm using rsync on an exported tree, but I am looking for something a little more compatible.
Am i the only one using SVN for web site / web app development?
________________________________
On Sun, 2009-05-10 at 19:45 -0700, Allen Fowler wrote:
Something more like rsync, but able to run over whatever transport is available. (ftp, scp, etc.)
I believe the svn export does not require you to pull the entire project. It takes a URL and exports the contents at that URL to your specified destination or to a folder of the same name you are exporting.
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.export.html
A quick test:
fgruman_at_toybox:~/test> cd mytest/
Committed revision 1.
You can even specify a revision. Either way, you will get the contents of whatever folder you specify.
As noted by a previous poster, you could employ something like "svn list" with the revision created as part of a post-commit hook script that could export only those directories with changed files. For that matter, I believe svn export will export individual files (I believe as of 1.5), so (if you were really, REALLY desperate) you could take the output of the above list and export every file modified in a given revision. The problem with this would be the extreme amount of time it would take for large check in operations.
Regards,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.