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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:02:08+00:00 2026-05-27T18:02:08+00:00

I learned version control with Subversion, and now I am trying to use Mercurial.

  • 0

I learned version control with Subversion, and now I am trying to use Mercurial. In Subversion, I had one project in a repository by itself, and I could check it out into my Visual Studio Projects folder and work on it there. Now I am using a Mercurial repo with more than just my project. I have a separate local copy and central copy. The standard way of modifying the local copy is to modify the files directly in the repo, but I don’t like that, because I can’t relocate anything if need be. Is there a way to check out my project to wherever I want? I don’t like the edit-copy-paste-commit approach.

  • 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-27T18:02:09+00:00Added an answer on May 27, 2026 at 6:02 pm

    Your problem is this:

    The code for all the company’s projects is in the local repo

    Quote from “What Mercurial can’t do” in the Mercurial documentation:

    Many SVN/CVS users expect to host related projects together in one
    repository. This is really not what Mercurial was made for, so you
    should try a different way of working. In particular, this means that
    you cannot check out only one directory of a repository.

    If you absolutely need to host multiple projects in a kind of
    meta-repository though, you could try the Subrepositories feature that
    was introduced with Mercurial 1.3 or the older ForestExtension.

    For a hands-on introduction to using Mercurial, see the Tutorial.

    –> When you use a distributed version control system like Mercurial, you should try to create one repository per project.
    If you do it like this, your problem just goes away because if you need to modify Project X, you just clone Project X’s complete repository to your machine, and that’s it!

    Coming from Subversion, maybe you should read a tutorial that explains the difference between SVN and HG, for example one of these:

    • the official one
    • Hg Init (by Stack Overflow’s co-founder Joel Spolsky)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I learned that by trying to use the tablesorter plug in from jquery the
I learned to use "exists" instead of "in". BAD select * from table where
I have been hearing a lot about the advantages of using a version control
I'm reading a text on Version 6 unix, and just learned about inodes. I
Edit: Ok so I learned that I guess I need an distributed source control,
I'm learning Cocoa/Objective-C/iPhone SDK, and as a simple project to apply what I've learned,
Long version... A co-worker asserted today after seeing my use of while (1) in
I am trying to understand if I really have any case for using git/mercurial.
I learned D version 1. Version 2 is recommended and someone mentioned there are
I've learned C and C++ in Borland's Turbo C++ IDE, the 16-Bit version with

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.