Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently I'm using Subversion for keeping source changes centralized and also as a single point of backup. All users commit changes to the server and the server is backed up.

I'm wondering how something like Mercurial would work in a similar deployment? Since it's decentralized how do I get a solid backup for the entire system? I admittedly don't know anything about Mercurial, so I'm looking for some guidance on how its typically deployed? Do I misunderstand its use case?

I guess what I'm really after is how do I get a central copy for backup purposes if I convert to mercurial?

share|improve this question
    
Check out any of the questions related to this on Stack Overflow; that should help you out. –  alex May 25 '11 at 4:31
    
Maybe its not clear, but I guess what I'm really after is how do I get a central copy for backup purposes if I convert to mercurial? –  Nate May 25 '11 at 4:37
add comment

1 Answer

up vote 2 down vote accepted

Mercurial is not decentralised, people can have a copy of the repository on their machines, but at some point they will need to upload their changes to the repository you have designated as the "main" one, otherwise how would you build the project or deploy a website?

You would still backup the main repository like you are doing with SVN, you just have to remind users that they need to upload their changes to the main repository regularly. This shouldn't be much of a problem if they used to use SVN as that was what they were doing before Mercurial.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.