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 823413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:56:37+00:00 2026-05-15T02:56:37+00:00

We are using svn for development of a large web application, and we do

  • 0

We are using svn for development of a large web application, and we do periodic updates to production. The production server does not have access to svn (for security reasons).

What is the best way to push the changes since the last production release for a new release? We would like to avoid re-creating the whole site each time, since it is very large.

  • 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-05-15T02:56:37+00:00Added an answer on May 15, 2026 at 2:56 am

    Well let me give a shot. You can parse the SVN update command output and generate copy instructions that only copy the files that were changed?

    http://svnbook.red-bean.com/en/1.1/ch03s05.html

    Let’s examine the output of svn update
    a bit more. When the server sends
    changes to your working copy, a letter
    code is displayed next to each item to
    let you know what actions Subversion
    performed to bring your working copy
    up-to-date:

    U foo

    File foo was Updated (received
    changes from the server).

    A foo

    File or directory foo was Added
    to your working copy.

    D foo

    File or directory foo was
    Deleted from your working copy.

    R foo

    File or directory foo was
    Replaced in your working copy; that
    is, foo was deleted, and a new item
    with the same name was added. While
    they may have the same name, the
    repository considers them to be
    distinct objects with distinct
    histories.

    G foo

    File foo received new changes
    from the repository, but your local
    copy of the file had your
    modifications. Either the changes did
    not intersect, or the changes were
    exactly the same as your local
    modifications, so Subversion has
    successfully merGed the repository’s
    changes into the file without a
    problem.

    C foo

    File foo received Conflicting
    changes from the server. The changes
    from the server directly overlap your
    own changes to the file. No need to
    panic, though. This overlap needs to
    be resolved by a human (you); we
    discuss this situation later in this
    chapter.

    Or if you prefer a semi-manual solution you can use a diff tool like WinMerge or Araxis Merge to sync both directories.

    EDIT:

    I don’t think “svn update” will work exactly, but what I settled on was:

    • svn checkout of the current (old) prod revision
    • svn switch to the revision that is ready for prod (new)

    I wrote a script to capture the output of the “switch”. It translates U and A operations to “adds” to a zip archive. It translates D operations to delete commands to be executed on the production server. On the production server, we just need to unzip the archive and run the delete commands.

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

Sidebar

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.