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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:15:28+00:00 2026-05-15T04:15:28+00:00

I am developing a semi-complicated site that is available in several countries at once.

  • 0

I am developing a semi-complicated site that is available in several countries at once. Much effort has been put in to make the code bases as similar as possible to one another and ultimately only the config file and some representational data will differ between them.

Each project has its own SVN repository which maps directly to a live test site. That part is handled by the IDE we use to work.

Now I am in need to create a some sort of system to keep all these projects in sync.

The best theoretical solution so far is to create a local hook script that would fire on committing and

  1. Merge the committed files from the project that is being committed to all other projects

  2. Optionally upload them to the live site, replacing previous files

The first problem is that I don’t know how I would do the merging – I guess it would be like applying a SVN patch or something. The second is if I do not want to upload the changes to the live server, how would I go about synching the live and local code bases (replace older files?).

I am posting this question, not going through the potentially huge trouble of solving the aforementioned problems myself is that I believe this is a pretty common situation and someone would already have a solution and others may benefit from the answers in the future.

Lastly, I’m on windows7, develop PHP and use tortoiseSVN.

  • 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-15T04:15:29+00:00Added an answer on May 15, 2026 at 4:15 am

    If these projects are identical except for a few files, why not setup several projects (folders in SVN) each of which only contains these differing files and an external reference to a project (folder) with all the common stuff?

    Something like this:

    --+
      +-+ project1
      | +- => common
      | +- config.file
      | +-+ data
      |   +- blah
      |   +- wrxgl
      |   +...
      +-+ project2
      | +- => common
      | +- config.file
      | +-+ data
      |   +- blah
      |   +- wrxgl
      |   +...
      +-+ project2
      | +- => common
      | ...
      +-+ common
        +- foo
        +- bar
        +- baz
        +...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Developing a site that requires monthly subscriptions via PayPal. If a buyer has an
Developing rails has become lots of fun over the year that I've done it,
Developing for iPhone, I have a collection of points that I need to make
I'm developing PHP apps that leverage several frameworks (though not the Zend Framework yet...)
I'm developing a Remoting classes library so that I can keep database interaction and
Good evening. I'm developing an android application that uses Facebook SDK. I've no problem
Developing with my first Mac and I noticed that my Rspec output isn't colorized
Developing a network application, I have a Connection class that manages sending and receiving
I'm semi new to developing for iOS. And when i try to customize a
Developing a series of POCOs on my project, and just realized that some of

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.