s0c0 Posted September 28, 2010 Share Posted September 28, 2010 What is the best way to get a list of files that have changed/committed since a certain point in subversion/svn? Here's what I am trying to accomplish. When I start a new project or release for a client I want to get a list of only what has been committed and then deploy that to the my staging server. What I've been doing is just rolling the entire PHP project via FTP which takes time. Maybe I start a branch/tag each time? Anyways, I'm sure someone on here does something similar to this or maybe even has a better idea. Quote Link to comment https://forums.phpfreaks.com/topic/214583-svn-question/ Share on other sites More sharing options...
gizmola Posted September 28, 2010 Share Posted September 28, 2010 If your staging area is a sandbox, you can get only the files that have changed using svn up. The only negative to this is that the .svn directories are also checked out, but you can deny access to these in apache easily enough. Quote Link to comment https://forums.phpfreaks.com/topic/214583-svn-question/#findComment-1116603 Share on other sites More sharing options...
s0c0 Posted September 28, 2010 Author Share Posted September 28, 2010 I program on my local box and my staging server is on shared hosting account. Will SVN up work with this type of setup? Quote Link to comment https://forums.phpfreaks.com/topic/214583-svn-question/#findComment-1116614 Share on other sites More sharing options...
gizmola Posted September 28, 2010 Share Posted September 28, 2010 The svn repo has to be internet accessible. If so, then yes, you're basically just making the server an svn client, and using the command line svn tool to pull the updates from the svn repo. Quote Link to comment https://forums.phpfreaks.com/topic/214583-svn-question/#findComment-1116631 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.