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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:55:45+00:00 2026-05-12T00:55:45+00:00

I a xampp setup for php. I have created a new repository at D:/xampp/htdocs/cart

  • 0

I a xampp setup for php.

I have created a new repository at D:/xampp/htdocs/cart and i am using Mercurial along with Netbeans.

I am working on a locally and a lone developer.

The cart is installed and works at my localhost hXXp://localhost/cart

If I make a change to a clone repository, since it is not the directory which runs on the localhost, what makes it useful ? Everything resides on my local computer.

I am new to DVCS.

What purpose does Cloning a repository achieve ?

  • 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-12T00:55:45+00:00Added an answer on May 12, 2026 at 12:55 am

    Cloning serves two basic purposes:

    1. It makes the idea of branching easier: It’s simpler to clone the repository to work on a new feature on the side, while leaving the main repository as-is until you’re done and able to pull and merge the changes back into the main repo. While Mercurial does allow to have several branches in the repository, the cloning approach is often easier.

    2. The second purpose is pretty much the same thing that happens when you make a checkout from a centralized VCS like Subversion. In DVCS, however, you don’t just checkout whatever revision you want to work with, but the whole repository. This way, you don’t depend on the “central” repository anymore. Since you’re a lone developer on a single computer, this one isn’t too important for you.

    Either way, you can always push / pull changes from one repository to another, so the changes made in the clone aren’t lost in your main repository. There’s a good introduction to Mercurial at http://hgbook.red-bean.com/ .

    Hope this helps.

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

Sidebar

Related Questions

I am developing a PHP application using our XAMPP setup as a test server.
I have recently setup XAMPP 1.7.3 and ZendFramework 1.10.4 on a new computer and
I'm using Netbeans 7.0.1 in a PHP project. I've installed XAMPP 1.7 in Windows
I am trying to setup email in XAMPP with Mercury mail. However I have
I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql.
I'm almost completed moving my first live site to my new xampp setup on
I have just setup my website locally so I can test my pages more
I am attempting to connect to a MySQL database setup by XAMPP using the
I have installed XAMPP server on my Mac OS, how to setup a cron
EDIT3: It seems that the problem occurs on my localhost XAMPP PHP 5.3 setup,

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.