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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:52:25+00:00 2026-05-27T17:52:25+00:00

I work at a company that does a good deal of custom development for

  • 0

I work at a company that does a good deal of custom development for a wide variety of clients. Some projects are unique, but many of them also use a common set of code that we have developed over the years. This pattern has worked well for a long time. But we are currently in the process of moving from SVN to Mercurial (hg), and so I’m pondering how best to set up the different repositories.

Right now we have one repo for our internal work. These projects range from basic utilities such as logging, to custom apps for internal use. And it also has a good deal of old code that is not actively updated, but kept around in case some old legacy client code needs to be modified.

For each client we make a separate repo and put all of their code in the dedicated repo.
The nice thing about this structure is that if you want to work on a client’s code, you just get everything from their repo, plus the “core” internal code, and you have everything you need. One downside is that the client code can become stale, and even out of synch with changes to our core code.

But I would like to hear what other people do as well. Does it make sense to have many client-specific repositories and one rather large internal one? Some client’s code base is huge, while others’ are very small. Does it make sense to have a repo for each?

Also – we put ALL client artifacts into each client repository. This includes not only source code, but also specs, contracts, signed PDFs, Excel, Visio, Word, and other such documents. This seems wasteful to me, and I’m pondering separating out the artifacts from the true code. How do others handle such things?

  • 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-27T17:52:26+00:00Added an answer on May 27, 2026 at 5:52 pm

    You could do the following:

    • put the core code in one central repository
    • put the client code in client-specific repositories
    • do not put copies of the core code directly in the client repositories, instead include the core code repository as a subrepository

    This gives you the benefit that you can still just pull the client repository and get the client’s stuff and the core code.
    Plus, the subrepository automatically points to a certain revision of the core code repository, and you have to do an explicit update if you want a newer version. So if the core code repository is updated in the meantime, the subrepository in the client repository does not automatically get these changes (which might break your client code).

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

Sidebar

Related Questions

Just to preface: I work in a small company that does ASP.NET development and
I’ve interned at a company that does a lot of mainframe work. Most of
I work at a company that has many clients that have their own website
im new to the iPhone SDK and development. I work for a company that
I work for a company that does sites for the pharma industry and we
I work for a tech company that does more prototyping than product shipment. I
I'm doing some work in C++ for a company that has everything else written
I work for a company that offers webhosting and DNS services. We are trying
I am doing short-term contract work for a company that is trying to implement
At the company that I work with, we often have to integrate with client’s

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.