Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8946631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:34:15+00:00 2026-06-15T12:34:15+00:00

So I have SVN installed on our web server. The idea is that the

  • 0

So I have SVN installed on our web server. The idea is that the working copies are loaded on developer machines and when they commit (conflicts asside) the server executes a post-commit bash.

Repositories are per project based, the idea is that upon post-commit, the bash file needs to force delete the entire project folder and files, and export the updated repo back into the project folder, to keep the website updated via SVN… I know there’s bound to be some disagreements with this method but it works for us… except for ONE thing…

While the server is re-exporting the project, any requests being made to the website raise errors since there’s chunks of files missing… Is there any way to “queue” apache/php while SVN exports, and then “resume” the requests?

The server exports the files pretty quickly but it’s those few millisecs that someone catches the server and raises PHP errors…

Please let me know if there’s a typical method to sort this out…

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T12:34:16+00:00Added an answer on June 15, 2026 at 12:34 pm

    You could minimize the interruption by building the content in a new directory tree and then renamings things. That is, assuming that you content is available under /var/www/myproject, your post-update script would:

    • Populate /var/www/myproject.new
    • Rename /var/www/myproject to /var/www/myproject.old
    • Rename /var/www/myproject.new to /var/www/myproject
    • Delete /var/www/myproject.old

    While not quite an atomic update, the time required to perform the two renames will be minimal and should greatly improve the situation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have just recently got our SVN server installed. My developers have added the
We have a local server with SVN installed on it that we are using
I have Eclipse 3.4.2 installed on Windows with subclipse. Another developer added an SVN
We have a pending takedown of our current Linux-hosted SVN server. So I made
We have a relatively standard SVN server in our office, and I've been using
We have installed CollabNet Subversion Edge on a Windows 2008 R2 Standard server that
i have svn setup on my server: /home/svn/setup i also have the files that
We currently have: a server installed Collabnet Subversion Edge used as a SVN server,
I have installed Tortoise SVN (64bit) on a Windows Server 2008 (64bit) machine and
We have SVN server on out intranet (192.168.x.x) for me and my fellow developer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.