It’s a bad practice to use version control for site deployments/updates. Consider using a deployment tool which uses SVN like Capistrano. Start Googling around and you’ll articles like this one.
Advantages of using Capistrano
- Easy deployments (more error proof than vcs deployments)
- Easy rollbacks (maintains previous versions of your codebase)
- More secure (doesn’t expose a .git directory for example)
- Zero downtime (doesn’t over switch until all the files have been downloaded)
Mark Jaquith, one of WordPress’s lead developers talks about this in a WordCamp.
Update:
This question should help with deployments in general and tree conflicts happen from time to time when deploying with svn. You should read the following chapters of the svn book if you really want to get a handle on this issue:
Also, be aware of this security concern when deploying with svn.
Related Posts:
- what is the correct way to update a plugin via tortoise svn to the repository?
- Are there procedures to prevent malicious plugin updates?
- How do you allow plugins to be updated using the GUI without breaking your subversion repository?
- Sync my svn repositories
- Updating a WordPress plugins breaks SVN
- How to handle the Plugin Version on Update using Tortoise SVN and the worpdress.org Plugin Repository?
- wordpress.org codebase
- How to update WordPress plugins to latest using SVN
- Recreating a local repository from a currently existing wordpress.org repo..which I own
- How to update plugins with database updates if I use svn
- Using SVN to upload plugin created with gutenberg blocks
- Plugin Repository commit doesn’t show up in activity
- Git Hosting for WordPress SVN Plugin Repository [closed]
- Banner not visible after plugin publishing
- Change plugin name on WordPress repo
- How do I avoid having duplicate of plugin in trunk?
- A server-side hook failed when committing plugin code to SVN
- WordPress SVN UTF-8 issue
- Is it possible/advisable to set last stable version to previous version?
- Tortoise SVN showing ‘Access to ‘/!svn/me” forbidden error.
- SVN problem – commit taking forever to fix incomplete prior commit
- Add plugin by SVN. Current version problem
- Adding Additional Attributes in Script Tag for 3rd party JS
- How can I edit post data before it is saved?
- Manually set global $post vars with an ID, in order to use template tags
- WordPress 3.5 Media Manager – add a button
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- Does releasing a plugin under the AGPL force people to open source their whole WordPress installation?
- jQuery AJAX call not executing in Plugin
- Why am I sometimes getting a 404 error when I try to update a page with Elementor?
- WordPress Post tags (get_the_tags & has_tag)
- Restricting users to a specific front end page [closed]
- Using spl_autoloading within WordPress plugin
- Get list of sites that uses specific plugin or theme
- Why Better WP security plugin returns 418 I’m a Teapot “error”?
- What is the purpose of $merged_filters?
- Loop with array of posts using ‘Advanced Custom Fields’ plugin [closed]
- Image resizing on home page (product category) [closed]
- WP-Cufon adding extra space in my paragraphs in Firefox and Chrome
- WP Plugin Developers – Accessing my wordpress site [closed]
- Keep custom fix in a plugin
- How to determine what is generating large amount of database queries?
- Get post by ASC from custome field DATE picker
- Plugin upload to install
- How to add an image from web-link?
- Redirection based on location but without affecting search bots
- Using a custom plugin to capture input data via Ajax and PHP
- Display post lists in 2nd paragraph
- How to make a proper custom post type link
- Preg Match All doesn’t Allow echo first character for WordPress Taxonomy Tags
- A new translation folder overrides my usual translation from “nowhere”
- Create tabs in admin options page from custom post type loop
- How I can internationalize variables within the function _e () __ (), etc?
- Plugin init hook fires repeatedly
- Is there any hook for theme activation ? or something similar?
- Insert Array in Plugin Database
- What are the performance hiccups when building plugins?
- Add Content to Content()
- coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error
- plugin wraps the entire content
- Shortcode Attributes to Return different $_POST
- How do I change where a plugin pulls updates from?
- Remove value from array within post meta ajax admin
- how get curent URL slug from archive page [closed]
- How programatically cause uploads folder to be created?
- Hook on creating a menu entry?
- Images not appearing after applying Smush
- Identify User Language, Redirect to the corresponding page and Save the chosen language as Cookie
- Enable comments pagination only amp page
- Change the address of the music player if not available
- WordPress disable direct access of files in WordPress installation path
- disable plugin activation on no multisite
- How to Add call button on a featured image in a wpsite? check the slap king image, there are two buttons on the featured image
- WordPress hierarchy clarification, does post_type_archive take precedence over taxonomy-term archive?
- Add style to body based on url
- How to check for already existing plugin versions on activation? and prevent errors
- update_post_meta is not working for me when I use e.preventDefault for update button
- How to create a plugin with automatic update?
- jQuery works instead of $
- WordPress create thumbnails on demand
- How user can download a specific file?
- Scheduled cron event removed from list automatically after sometime
- Plugin management with my custom plugin
- How to allow editors to only edit certain categories?
- How to pass value from WordPress to Javascript
- 504 Timeout gateway when trying to pay for an order in Woocommerce. What else can I do?
- How do I create a state of “don’t assign anything to variable” if WP_Error throws an error?
- Get not the full path
- Plugin communication between sites that use it?
- Being hacked. Is there a list of WordPress security holes I can check against?
- Is a Virus detection plugin necessary?
- Assigning a custom post type to a custom page
- What is the process for reimplementing a back up WordPress?
- WordPress include scripts and style in plugin page
- Automatically send an email to list when blog is updated
- Book plugin to record books read and write my own reviews [closed]
- How can I make a website with dynamic features with wordpress?
- I would like to hear recommendation for a plugin to charge exams [closed]
- Advanced Ajax Page Loader and Masonry Grid
- WooCommerce Subscriptions not working for variable product