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

The Archive Base Latest Questions

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

I heard that if we are working on a feature and then we need

  • 0

I heard that if we are working on a feature and then we need to fix something quickly, we can make a temporary clone and then fix the bug, and push to the central repo.

First of all, is the temporary repo cloned from the central repo or from our local repo?

Also, is it good to clone 2, or 3 repos from the central repo to our hard drives, so if we are working on a feature using local repo 1, and need to make a quick bug fix, then we can go to local repo 2, do an hg pull, hg up, and make the bug fix, and hg push and be done with the bug fix without affecting local repo 1?

So we will keep local repo 1, 2, 3 always there, so that we have them as standby, without needing to create a new temporary clone each time, which can be time consuming.

Update: I think one suggested practice from the answers is: clone from Central repo to local repo only once (and call this local repo as “master repo”), and then clone from this local repo “on demand”, fix the urgent bug in the tmp repo, and push directly from tmp repo back to the Central remote repo? However, isn’t it said that during development, we should commit often (even before the feature is totally finished and bug free), so if we clone from local repo to a tmp repo, won’t the clone include those committed files as well? And what if the urgent fix require modifying the files that are in the local repo that are in “intermediate” state (in the middle of development)?

  • 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-15T19:17:55+00:00Added an answer on May 15, 2026 at 7:17 pm

    My practice is to have a ‘master’ clone of the central repository, and then for each feature or bug fix I am working on, I clone the ‘master’. As I finish a feature, I push it back to the ‘master’, then when I am confident I push to the central reo.

    Here are some Mercurial Best Practices

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

Sidebar

Related Questions

I've heard in the past that it's unsafe to share a Subversion working copy
I heard that Google can track all the static pages in a website and
I heard that you need to create images for both retina and non-retina. And
I'm working on a project where I have a commit that introduced a feature
I am working on a Windows application in C# (.NET 4.0) and need something
I am currently working on a feature that allows a user to determine which
I am a beginner-verging-on-intermediate rails developer that is working hard to improve my skills.
As I've starting working with Javascript, I learned the hard way that when you
Here's the code for a simple page I have that is not working: <head>
I heard that it's possible to identify the brand of a device (or at

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.