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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:17:15+00:00 2026-05-13T20:17:15+00:00

This is somewhat related to my security question here . Is it a bad

  • 0

This is somewhat related to my security question here. Is it a bad idea to use an hg / mercurial repository for a live website? If so, why?

Furthermore, we have dev, test and production installations of our website, like dev.example.com, test.example.com and www.example.com. If it’s a bad idea to use a repository for a live/production website, would it be OK to use an hg repository for the dev and test sites?

I’m also concerned about ease of deployment. We have technical and less technical co-workers who will be working with the site. The technical people (software engineers) won’t have any problem working with the command line or TortoiseHG. I’m more concerned about the less technical people (web designers). They won’t be comfortable working on the command line, and may even find TortoiseHG daunting. These co-workers mostly upload .css files and images to the server. I’d like for these files (at least the .css files) to be under version control, but I want this to be as transparent as possible for the non technical team members.

What’s the best way to achieve this?

Edit:
Our ‘site’ is actually a multi-site CMS setup with a main repository and several subrepositories. Mock-up of the repository structure:

/root [main repository containing core files and subrepositories]
    /modules [modules subrepository]
    /sites/global [subrepository for global .css and .php files]
    /sites/site1 [site1 subrepository]
    ...
    /sites/siteN [siteN subrepository]

Software engineers would work in the root, modules and sites/global repositories. Less technical people (web designers) would work only in the site1 … siteN subrepositories.

  • 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-13T20:17:16+00:00Added an answer on May 13, 2026 at 8:17 pm

    Yes, it is a bad idea.

    Do not have your repository as your website. It means that things checked in, but unworking, will immediately be available. And it means that accidental checkins (it happens) will be reflected live as well (i.e. documents that don’t belong there, etc).

    I actually address this “concept” however (source control as deployment) with a tool I’ve written (a few other companies are addressing this topic now, as well, so you’ll see it more). Mine is for SVN (at the moment) so it’s not particularly relevant; I mention it only to show that I’ve considered this previously (not on a Repository though; a working copy, in that scenario the answer is the same: better to have a non-versioned “free” are as the website directory, and automate (via user action) the copying of the ‘versioned’ data to that directory).

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

Sidebar

Related Questions

Although somewhat related to this question , I have what I think is a
[This question is somewhat related to this question , but the answers are not...]
I realize there is a somewhat related thread on this here: Loading assemblies and
This is somewhat of a follow-up to an answer here . I have a
This is somewhat of a follow-up question to this question . Suppose I have
This is somewhat asp.net MVC related only for example purposes but I was hoping
I know this is somewhat of a server question, but I wanted to ask
This is a somewhat low-level question. In x86 assembly there are two SSE instructions:
This is a somewhat bizarre question. My objectives are to understand the language design
I know that this is somewhat subjective, but I wonder if there is a

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.