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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:11:33+00:00 2026-05-20T16:11:33+00:00

I just switched to Mercurial from SVN. I’ve done some basic stuff (importing my

  • 0

I just switched to Mercurial from SVN. I’ve done some basic stuff (importing my code, making commits, getting the hang of log/commit/revert/etc.) and read some tutorials on branching/merging.

My question now is: What’s the best (“Mercurial”) way to use Mercurial?” I don’t want to follow SVN paradigms; I want to do things the “right” way.

I should mention that I’m a sole developer on most of my projects, and I’m using agile/scrum practices. Maybe my question should really be should I be cloning/branching per feature? Per task? I remember reading that this should be the case for Git, and this allows you to essentially keep multiple copies working at the same time and separate features vs. bug-fixes vs. whatever (i.e. keep your working copy separate for each different thing that you’re doing). And it’s also apparently part of Mercurial’s best practices.

Or I could just keep one copy, make my changes, and commit prolifically. Whatever.

If this question is too subjective, I don’t mind closing it, provided someone can link me to some reading materials on how to use Mercurial best. That’s what I’m after.

  • 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-20T16:11:34+00:00Added an answer on May 20, 2026 at 4:11 pm

    Speaking as a (mostly) solo developer, I think my answer is … yes. When I know I’m making a quick change I do it in my “main” development directory, but if I have any doubt about how long/complicated something will be, I branch right at the beginning. The nice thing is that you can really do it in any way (and in any order) that works for you. If you are working in your main dev directory on a longish mod and someone comes in and needs a quick fix now, just clone trunk, fix it, check it in, and Bob’s your uncle!

    I look back on my days with SCCS/RCS/CVS with sadness.

    I am about to lead 3 designers into the Promised Land. They are old-school and have been using Dreamweaver in shared directories (the horror!) for years. This weekend we are moving them to a world of XAMPP, TortiseHG, rsync, and deve/staging/production.

    Update: I phrased my answer in a highly ambiguous way. Thanks for calling me on it, Michael E.

    My “main development directory” is actually a clone of production-master. When I say “branch” I mean that I’m going to be working at something for a while, often for several days to a month or more, but it’s still a clone of “something.” I know that sounds vague, but sometimes I’m working with other developers and we are passing stuff back and forth and we just don’t worry too much about the merge to trunk until it’s time to go to staging. (And even then it’s often pretty painless.)

    So a “quick fix” for me means updating my “main” dev dir to trunk, hacking, testing, push to staging on the main machine (and test), and then push to production (and test). Most of the time quick fixes are done as an anonymous branch.

    BTW, cloning against a local repository is so fast there’s no reason (in my mind) to do anything else. I have one medium-ish project with something over 7,000 files and about 4 years of near-daily commits from 4 developers — the repository is about 200MB. Clone time (on an old-and-slow machine in my garage) is 10 seconds. I keep an local clone of the remote production master and do hourly fetch’es with cron. HTH.

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

Sidebar

Related Questions

I have just switched from svn to mercurial and have read some tutorials about
We've just recently switched over from SVN to Mercurial, but now we are running
We just switched from TFS to SVN, and so far we're loving it. However,
Just switched from apache and having some rewrite issues. Simple task: rewrite http://www.foo.com/BAR/ to
I just switched over from SVN where after a few changes to the trunk
In order to do some multi-platform GUI development, I have just switched from GTK
Just switched over from eclipse to vs 2008 for debugging javascript, i feel more
just switched to iOS 4 on my iPhone 3GS and some of my apps
I just switched to vs2010 from vs2008. Exact same solution, except now every single
I just switched over from iPhone to Android and am looking for something similar

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.