Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
644 views
in Technique[技术] by (71.8m points)

svn - Migrating away from Clearcase

We are migrating from Clearcase to another VCS (probably either SVN or Mercurial). For companies that have made this transition, what factors did they find important in selecting another VCS tool, and what practices did they find eased the transition?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

SVN and Mercurial are both good SCM. Many opensource projects use them. If your choice only narrowed down to these two then what you and your team must consider is:

Workflow and workflow

How do you want to do the commits and branching? Distributed or Purely centralized? This is related to the company policy too. Go with SVN if you want everything to be centralized. But this does not mean you can not have central repository with Mercurial. It's quite beneficial if your team choose DVCS like Mercurial because:

  • Everyone has their own local copy. This enables them to work from home and do local commits
  • Everyone can do local branching in their local machine. Do not fear about merging between revisions, Mercurial has good support with merging and relatively easy compared to SVN.
  • Not everyone must have commits access, because you can appoint someone to be a gatekeeper which pulls revision from other developer's machine. This enables you to do code review before submitting the code to the central repository.

Other than that, both are really good as they both have good (enough) performance, good windows support (SVN, Hg) and good documentation/book (SVN, Hg).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...