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

  • Home
  • SEARCH
  • 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 3753028
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:19:45+00:00 2026-05-19T09:19:45+00:00

I currently have an svn repository on my hosted web server. I work locally,

  • 0

I currently have an svn repository on my hosted web server. I work locally, commit my changes to the repository on my server, and then run an “svn update” via ssh in my live folder when I am ready to push the changes live.

I am now adding a staging site, which will reside on the same server. It will simply be another folder on the same server.

The issue is that I will be working on somewhat larger changes to the site on the staging server that may take up to a week of testing. During that time, I may want to make a small cosmetic change to the live site that requires no testing. Let’s take an example:

  1. Assume my local, staging, and live site all begin on revision 1.
  2. I make major changes locally, commit them, and update my staging server. Local and staging are on revision 2, live is still on 1.
  3. Someone asks for a simple text change on the live site.
  4. Ugh. Now I have to revert my local copy to revision 1, make the small change and commit it. Now I update to the live site to revision 3, which has the small change.
  5. I want to keep working on my major changes, so I update my local copy back to revision 2, and keep working.
  6. And so on….

This forces me to keep track of revsions and constantly be updating and reverting. Is there a better way? I feel like I am supposed to be using branching and tags here, but I don’t understand how exactly.

Thanks,
Jonah

  • 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-19T09:19:45+00:00Added an answer on May 19, 2026 at 9:19 am

    I manage a development shop consisting of 5 developers. We utilize SVN in the following way for our website:

    • Developers commit all enhancements or bug fixes to our ‘dev’ branch before marking a job as complete.
    • Jobs are tested on a staging box running the latest code in the dev branch.
    • Once a job passes testing, the revisions for that job are merged to our trunk branch.
    • Our live web servers run the trunk branch. Periodically, they are updated via a ‘publish’ script which updates SVN on the live servers and does some other things as well (such as obfuscates and minimizes CSS and JavaScript).

    This allows small bugs to get through the pipeline quickly and larger jobs to take as much time as they need in development and testing.

    Since each developer is responsible for merging their own jobs and each merge consists of a smaller set of code changes, they go pretty smoothly. It is a lot less hectic than the older pattern of having a merge manager create a major enhancement branch for a set of enhancements. Since other developers typically work together on a set of enhancements, you would end up with a merge manager who merged code they didn’t write, which becomes particularly frustrating when you have merge conflicts.

    In fact, this method kind of mirrors the methods that versioning systems like Git and Mercurial attempt to promote by way of how they structure their repositories. With those versioning systems, each developer has their own ‘local’ repository. When they want changes from another ‘repository’, they have to merge them with their local code, then commit a valid ‘merged’ version.

    You can also use tagging as Andy mentioned in his answer to this question. It may work for you, but I prefer to put the responsibility of merging on the developers who write the code rather than a central senior developer or publish manager. They tend to go more smoothly that way.

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

Sidebar

Related Questions

We have an SVN repository hosted externally and our build server is currently internal.
I currently have a SVN repository on a server that is low in available
We currently have SVN set up as the source control repository to track changes
I have a SVN repository which is currently structured like so: /versions /1.0.0 /1.0.1
I currently have an svn server running on a machine to which multiple users
I currently have a large (30K commits) SVN repository that I am in the
I have a single SVN repository containing multiple projects, e.g. /molindo/trunk/foo /molindo/trunk/bar /molindo/trunk/baz Currently,
Currently, I have a large SVN repository with a bunch of different projects within
I currently have an SVN repository that is based on the DEPLOYED location of:
I currently have a couple of SVN repositories hosted at Unfuddle and I'd like

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.