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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:11:54+00:00 2026-05-14T01:11:54+00:00

I mainly code small programs for myself, but recently, I’ve been starting to code

  • 0

I mainly code small programs for myself, but recently, I’ve been starting to code for my peers on my team. To that end, I’ve started using a Mercurial repository to maintain my code in some form of version control (specifically, Tortoise-Hg on Windows). I have many small scripts, each in their own directory, all under one repository. However, while reading Joel’s Hg Tutorial, I tried cloning a directory for one of my bigger scripts to create a “stable” version and found I couldn’t do it because the directory wasn’t itself a repository.

So, I assume (and please correct me if I’m mistaken) that in order to use cloning properly, I’d have to create a repository for each script/directory. But.. would that be a “good idea” or a future maintenance nightmare waiting to happen?

Succinctly, do I keep all my (unrelated) scripts in one repository, or should I create a repository for each? Or some unknown third option?

  • 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-14T01:11:54+00:00Added an answer on May 14, 2026 at 1:11 am

    Use separate repos for everything that you might want to use independently at some point. It’s very easy to combine repos in the future and much harder to pull them apart. The subrepos feature (like svn externals) even lets you make an umbrella repo that includes all the small repos if that’s still something you’d like to be able to clone in a single command.

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

Sidebar

Related Questions

I'm working on some code that deals with parsing files (mainly XML, but there
My database background is mainly Oracle, but I've recently been helping with some SQL
I've mainly been using Mono for Android via Visual Studio, but have switched over
Historically I've mainly written web apps in Django, but now I'm increasingly finding that
I'm trying to develop a small script that generate a complete new pdf, mainly
I'm trying to reorganize my code and make it more unobstrusive. Mainly, there is
I'm getting a lot of errors compiling code using the boost libraries, mainly when
I'm creating a mainly GUI Cocoa app, but I want to create a command
I have been using MySQL for years, mainly on smaller projects until the last
I have built a small app that has a JSlider which controls the speed

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.