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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:59:44+00:00 2026-05-26T15:59:44+00:00

We use SVN where I work. Most work is done on trunk, but some

  • 0

We use SVN where I work. Most work is done on trunk, but some people choose to pull branches to work on large, disruptive features. We have a convention whereby we announce that trunk is locked when we are merging a branch back to trunk. The point of this is to prevent direct trunk commits while the merge is ongoing, which necessitates another merge up prior to committing the merge back down to trunk.

Needless to say, people overlook the announcement & check stuff in anyway. (Or perhaps they are just jerks. Whatever.) We have talked about using a DVCS, which presumably would address this problem (it seems intrinsic to the concept of “distributed”), but lacking experience with them, I can’t really see how.

Using Mercurial as my poison of choice, to merge I would first pull from the central repo and do the merge locally. If someone pushes changes to central before my merge is done, my push should still fail because it will create a remote head, correct? So again I have to pull, merge, build, and in that time someone else may have pushed additional changes to central. How is this better than the situation with SVN?

  • 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-26T15:59:45+00:00Added an answer on May 26, 2026 at 3:59 pm

    The benefits mercurial would have are threefold.

    1. You can push an additional head to the central repository if you really want to (but probably it’s a bad idea). Subversion doesn’t have the concept of “heads” so you can’t do that.

    2. You can do iterative merge+commit. So, you’d pull the latest head from the “trunk” repository. You’d merge in your change. You’d commit that locally. Then, you’d pull any additional changes from the trunk, and merge them as a new changeset on top of your previous merge changeset. With subversion you can’t do that – you have to keep on trying to get the merge done in 1 hit.

    3. The merging tools are smarter (as dahlbyk has said) so these sorts of merges are generally easier to do.

    But it’s still not going to be perfect – complex merges are hard, not (generally) because the VCS is lacking, but because you need to apply your brain to work out how to take the right pieces from each person (or group)’s work. That’s hard to automate, so it’s slow and sometimes painful work.

    Better development processes and communication can help, but if you have multiple groups doing relatively independent work on the same files then you’ve got to deal with merging somewhere.

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

Sidebar

Related Questions

We use SVN at work, but for my personal projects I decided to use
We happily use SVN for SCM at work. Currently I've got our binary assets
I use svn:externals to reference several open source projects. I then make some local
here where we work, we have a bunch of merging problems. We use SVN
I understand how to initialize a git-svn repo, create a branch, do some work,
I want to use git to allow me to work on several features in
We use svn version 1.5.1 (r32289) at work, I've got version 1.6.6 (r40053) on
I use git to interface with an SVN repository. I have several git branches
we use SVN for our work. We are a small web design studio and
I work in an environment where we use SVN for our source repositories. For

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.