<p>Let's take a web development environment, where developers checkout a project onto their local machines, work on it, and check in changes to development.<br>
These changes are further tested on development and moved live on a regular schedule (eg weekly, monthly, etc.).<br>
Is it possible to have an auto-moveup of the latest tagged version (and not the latest checkin, as that might not be 100% stable), for example 8AM on Monday mornings, either using a script or a built-in feature of the VCS?</p>

[{'answer_id': 14648, 'author': 'BIBD', 'author_id': 685, 'author_profile': 'https://Stackoverflow.com/users/685', 'pm_score': 2, 'selected': True, 'text': '<p>Certainly, but the exact product may be dependent upon the VCS you are using.</p>\n\n<p>What you might want to do, is have a a few different branches, and migrate up as you progress. E.g., Development -> Stable-Dev -> Beta -> Production. You can then simply auto-update to the latest version of Stable-Dev and Beta for your testers, and always be able to deploy a new Production version at the drop of a hat.</p>\n'}, {'answer_id': 14661, 'author': 'David Sykes', 'author_id': 259, 'author_profile': 'https://Stackoverflow.com/users/259', 'pm_score': 1, 'selected': False, 'text': '<p>Anything you can do with cvs can be done with the command line, and I am pretty sure svn is the same. Just work out the functionality you want and stick it in a shell script or a command file.</p>\n'}, {'answer_id': 14673, 'author': 'Anders Sandvig', 'author_id': 1709, 'author_profile': 'https://Stackoverflow.com/users/1709', 'pm_score': 2, 'selected': False, 'text': '<p>Yes, it is possible. This is usually a feature provided by <a href="http://en.wikipedia.org/wiki/Continuous_integration" rel="nofollow noreferrer">continuous integration tools</a>. Typically they will get the latest source from version control, build the project, test it (running unit tests) and possibly deploy it on a (test) server. </p>\n\n<p>If you don\'t require all those steps, you can easily do the same thing with some shell scripting or similar (i.e. checkout from version control and copy to the production folder on the server).</p>\n'}, {'answer_id': 14680, 'author': 'icco', 'author_id': 1063, 'author_profile': 'https://Stackoverflow.com/users/1063', 'pm_score': 1, 'selected': False, 'text': "<p>The only two I have experience with are SVN and Mercurial. For Mercurial, you specify which branch you want it to update from (let's say default) and then whenever you merge a branch into default, you can just have the server run:</p>\n\n<pre><code>hg update\n</code></pre>\n\n<p>Which updates your repository to the latest version of the branch you set it to. </p>\n\n<p>SVN is the same concept, you only check out which branch you want initially</p>\n\n<pre><code>svn co http://host/repository/branchname/\n</code></pre>\n\n<p>then you have your server update that with a cron job, ala</p>\n\n<pre><code>svn up\n</code></pre>\n\n<p>In theory though, any VCS that supports branching (all the good ones do : git, mercurial, SVN, etc...), should be able to do something similar to this.</p>\n"}, {'answer_id': 14684, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>I doubt many VCSs provide this ability directly, however it should be very simple to script. Either a date or branch based checkout.</p>\n'}, {'answer_id': 14733, 'author': 'BIBD', 'author_id': 685, 'author_profile': 'https://Stackoverflow.com/users/685', 'pm_score': 0, 'selected': False, 'text': '<p>As a follow up,</p>\n\n<p>I\'m of the opinion that an app should do one job and do it well. Often if you start combining tools into one product, none of them will shine, and most of them will be "\'alright, sort-of".</p>\n\n<p>If I was doing something like this, I would get myself something like SVN, ANT, and Subversion Ant Library (<a href="http://ant.apache.org/antlibs/svn/index.html" rel="nofollow noreferrer">http://ant.apache.org/antlibs/svn/index.html</a>) - your millage may vary though.</p>\n'}]
['https://Stackoverflow.com/questions/14634', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/572/']