SlideShare a Scribd company logo
- SEARCH FOR THE BEST RCS
vs vs
Vinoth Kumar Kannan
Vinoth.kannan@widas.de
THE NEED
Why do we need a Revision
Control System(RCS) ?
• Storing
• Retrieval
• Logging
• Identification
• Merging of revisions
THE CHALLENGERS
Apache Subversion
- Centralized version control system
Mercurial
- Python Distributed version control system
- Linux based Distributed version control system
MATCH 1
• Centralized Version
Control Systems
(DVCS)
 Central, authoritative repository
 All changes saved in one single
location
 Client-Server approach
• Distributed Version
Control Systems
(DVCS)
 Everyone has their own repository
 You get the safety net of frequent
check-ins without having to worry
about „breaking the build‟.
 Clients can make changes in the
repositories and those changes will be
local to them unless they synchronize
with someone else.
 Depending on the requirements, Git
also offers a centralized repository
SVN Dataflow Git Data Flow
Working
Dir
Remote
Repository
Online Source Control
 User must be online in order to
commit to the repository from
the working copy.
Offline Source Control
 Clients can commit changes to their
localized repositories as new
revisions even while being offline
Longer time to store
because all of the
data is stored in a
centralized repository.
 Extremely Fast
Complete copy of the data is stored
locally in the client‟s system
 Very less network
response time
 SVN help is more
organized
 There is some time wasted
since it is difficult to get a
quick reference from Git’s
search.
More Storage Space
 Two copies of a file in the
working directory of SVN
 One copy is used for storing the
actual work while the other copy
hidden in .svn/ contains the
information used to aid operations
(status and commit)
 When there are a lot of
documents, there is a huge impact
on disk space in the SVN
compared with Git
Less Storage Space
 Has an efficient memory because
the data‟s file format is compressed
 Git has a small index file to store the
info related to a particular file
Creating and working
on branch/Merge is
complex and difficult
to use
 Simple and Easy to use branch and
Merge
 The working directory of a developer
is itself a branch.
Sequencial Commits
 Data is lost when simultaneous
commits of two or more working
copies are performed
Non-Sequencial Commits
 Large number of users can put data to
the same repository
 No need to worry about data lost or
immediate merging of others changes
Merge
 The facility to merge data is also
there in SVN, but it is somewhat
incomplete
 SVN merge records seem to miss
some of the important details that
Git keeps track of.
Merge
 Users to have control over the merging
of data in synchronized repositories.
 Merges are always pulled by someone
and nobody can push to commit
merges in someone else’s repository.
Revision Tracking
 SVN keeps record of files
 File history is lost on renaming
 Fixed by giving a file unique
long lived id
Revision Tracking
 Git keeps track of contents.
 Even a small change in content it tracks
it as a separate change.
 Git needs a global check of the project
to determine changes
Particially Checkout
 Checkouts at subdirectory level
are possible.
Only Full Checkout
 Git will not allow you to checkout a
subdirectory.
 Instead, the user will have to checkout
the whole repository.
Simple usablity
 Simpler to learn
• create, commit and checkout
 Single central "master-repository”
Complex usablity
 Two modes of creating repositories
• checkout vs. clone
• commit vs. push.
 You have to know which commands
work locally and which work with "the
server“
 Git has more concepts and more
commands.
 many Git commands are cryptic, and
error messages are very user-
unfriendly
Projects using SVN Projects using Git
BitBucket
Gitorious
Codeplex
MATCH 1 RESULT
3 : 7
VIDEO
http://www.youtube.com/watch?v=_yQlKEq-Ueg&feature=player_embedded
MATCH 2
Steep Learning Curve
 Mercurial's terminology and
commands are closer to
Subversion and CVS,
 Easier to migrate
Flat Learning Curve
 More commands
 More options
 The volume can be intimidating to
new users
Clean Windows Support
 Mercurial is Python based
 The official distribution runs cleanly
under Windows (as well as Linux,
Mac OS X, etc).
Indirect Windows Support
 Git has a strong Linux heritage
 Official way to run it under Windows
is to use cygwin
 Not so ideal from the perspective of a
Windows user
 A MinGw based port of Git is gaining
popularity, but Windows still remains
a “second class citizen” in the world
of Git.
Client Storage Management
 If a branch is in the local repository,
then all of its revisions (back to the
very initial commit) must also be
present
Client Storage Management
 Git allows previously pulled branches
to be discarded.
 Git also allows old revision data to be
pruned from the local repository
(while still keeping recent revision
data on those branches).
Slightly slower Branching
 Branching, merging and tagging
systems are equally powerful and
only slightly slower.
Faster Branching , but…
 Slightly faster
 Suffers irregular heavy performance
drops
Bob clones this repo, and ends up with a complete, independent, local
copy of Alice's store and a clean checkout of the tipmost revision d in his
working directory:
Creating Branch and Merging in
Mercurial (1)
Creating Branch and Merging in
Mercurial (2)
Creating Branch and Merging in
Mercurial (3)
Pull
Merge
Commit
Creating Branch and Merging in
Mercurial (4)
Limited Number of Parents
 Allows only two parents.
Unlimited Number of Parents
 Git supports an unlimited number of
parent revisions during a merge
No Maintenance
 Mercurial does not require any
maintenance.
 A lot less sophisticated with
respect to managing the clients
disk space
Needs Maintenance
 Git requires periodic maintenance of
repositories
 Need to run the commad git -gc
 The Manual of Git Says : “Users are
encouraged to run the above
mentioned task on a regular basis
within each repository to maintain
good disk space utilization and good
operating performance.”
Immutable History
 Structured more as an ever-
growing collection of objects
whose state cannot be changed
after they are created
Histories can be
changed….
 Git is extremely powerful, and will do
almost anything you ask it to.
 Unfortunately, this also means that
Git is perfectly happy to lose history.
 For example,the command
git-push --force
can result in revisions becoming lost
in the remote repository.
Integration
 GOOD HTTP SUPPORT: Mercurial
has very good support for HTTP
based stateless pushing and pulling
of remote repositories.
 Less number of client – server calls
 All of the relevant information is
bundled into a single large transfer.
Integration
 Git includes support for HTTP pulls
(and WebDAV pushes), but the
implementation assumes that the
server knows nothing about Git.
 It is designed such that you can have
a Apache simply serve the Git
repository as static content.
 This method requires numerous
synchronous round trip requests
Fans Fans
The following Web sites provide free source code
hosting for Git repositories
Summary
 In terms of implementation effort,
Mercurial has a clear advantage
due to its efficient HTTP transport
protocol.
 Much faster if the team size is not
large
 Eclipse supports Mercurial with
the MercurialEclipse plugin.
Summary
 In terms of features, Git is more
powerful, but this tends to be offset
by it being more complicated to use.
 Social coding : Popular and More
suited for shared open source project
involving many users.
 Eclipse supports Git with
the EGit plugin.
SCREENSHOT OF TORTOISE HG GUI
CLIENT HISTORY
Svn  vs  mercurial vs  github
MATCH 2 RESULT
? : ?
WHO DO YOU THINK WON?
• Reference
 http://importantshock.wordpress.com/2008/08/07/git-vs-mercurial/
 http://code.google.com/p/support/wiki/DVCSAnalysis
 http://www.ericsink.com/entries/hg_denzel.html
 http://www.rockstarprogrammer.org/post/2008/apr/06/differences-
between-mercurial-and-git/
 http://en.wikipedia.org/wiki/Mercurial
 http://www.wikivs.com/wiki/Git_vs_Mercurial

More Related Content

PPTX
Git Lab Introduction
PPTX
Git & GitLab
PPTX
GitHub Presentation
PDF
Introducing GitLab (September 2018)
PPTX
Introduction to Git and GitHub Part 1
PPTX
Introduction to github slideshare
PPT
Git workflows
PPTX
Git Lab Introduction
Git & GitLab
GitHub Presentation
Introducing GitLab (September 2018)
Introduction to Git and GitHub Part 1
Introduction to github slideshare
Git workflows

What's hot (20)

PDF
SVN 2 Git
PPTX
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
ODP
Introduction to Version Control
PPTX
Git Pull Requests
PDF
Why ignoring firmware over the-air (fota) updates in automotive ecu can be a ...
PDF
Git & GitHub WorkShop
PPTX
GitHub Basics - Derek Bable
PPTX
Git branching strategies
PPTX
Intro to git and git hub
PDF
Version Control with Git
ODP
Source Code Management systems
PDF
Version Control System - Git
PDF
Introducing GitLab (June 2018)
PDF
Gitlab flow solo
PDF
Online examination system
PPT
Git basic
ODP
Svn Basic Tutorial
PPT
Git workflows presentation
PDF
Starting with Git & GitHub
PPTX
Git and GitHub
SVN 2 Git
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Introduction to Version Control
Git Pull Requests
Why ignoring firmware over the-air (fota) updates in automotive ecu can be a ...
Git & GitHub WorkShop
GitHub Basics - Derek Bable
Git branching strategies
Intro to git and git hub
Version Control with Git
Source Code Management systems
Version Control System - Git
Introducing GitLab (June 2018)
Gitlab flow solo
Online examination system
Git basic
Svn Basic Tutorial
Git workflows presentation
Starting with Git & GitHub
Git and GitHub
Ad

Viewers also liked (20)

PPT
Git vs SVN
PPTX
Getting Started with Git: A Primer for SVN and TFS Users
PPTX
Git basic commands
PDF
Know the Science behind WorkFlows using Git & GitHhub
KEY
Moving to Git
PDF
Training: Day Two - Eclipse, Git, Maven
PPTX
Why we ditched TFS and embraced Git, Github, TeamCity and Myget
PPTX
Lets git to it
PPTX
From svn to git
PPTX
Mercurial
PDF
Mercurial DVCS presentation to DevJam 11/4/2009
PPTX
Mercurial training
PDF
Virt monitoring
PDF
Git: A Getting Started Presentation
PPT
Git Introduction
PDF
Mercurial 簡介
PPTX
Puppet_training
KEY
Introduction to Git
ODP
Git vs svn
PPTX
Git Presentation
Git vs SVN
Getting Started with Git: A Primer for SVN and TFS Users
Git basic commands
Know the Science behind WorkFlows using Git & GitHhub
Moving to Git
Training: Day Two - Eclipse, Git, Maven
Why we ditched TFS and embraced Git, Github, TeamCity and Myget
Lets git to it
From svn to git
Mercurial
Mercurial DVCS presentation to DevJam 11/4/2009
Mercurial training
Virt monitoring
Git: A Getting Started Presentation
Git Introduction
Mercurial 簡介
Puppet_training
Introduction to Git
Git vs svn
Git Presentation
Ad

Similar to Svn vs mercurial vs github (20)

PPTX
Version Control with Git
PPTX
PPTX
Git 101
PPTX
Introduction to git
PPTX
GIT INTRODUCTION
PPTX
Mini-training: Let’s Git It!
PPTX
Git essential training & sharing self
PPTX
Git hub_pptx
PDF
Git Tutorial
PPTX
Version Control Systems -- Git -- Part I
PPT
Part 4 - Managing your svn repository using jas forge
PDF
Git and Github - A primer
PPSX
Git the fast version control system
PPTX
Presentation on Repository Control System
PPTX
Git And Git Hub.pptx
PDF
Whether you should migrate to git
PDF
Version control with GIT
PPTX
Git version control
PPTX
the Version Control systemlocalized.pptx
PPTX
Understanding GIT / Bitbucket training
Version Control with Git
Git 101
Introduction to git
GIT INTRODUCTION
Mini-training: Let’s Git It!
Git essential training & sharing self
Git hub_pptx
Git Tutorial
Version Control Systems -- Git -- Part I
Part 4 - Managing your svn repository using jas forge
Git and Github - A primer
Git the fast version control system
Presentation on Repository Control System
Git And Git Hub.pptx
Whether you should migrate to git
Version control with GIT
Git version control
the Version Control systemlocalized.pptx
Understanding GIT / Bitbucket training

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
cuic standard and advanced reporting.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
KodekX | Application Modernization Development
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Programs and apps: productivity, graphics, security and other tools
Understanding_Digital_Forensics_Presentation.pptx
Unlocking AI with Model Context Protocol (MCP)
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
cuic standard and advanced reporting.pdf
MYSQL Presentation for SQL database connectivity
Encapsulation_ Review paper, used for researhc scholars
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Dropbox Q2 2025 Financial Results & Investor Presentation
KodekX | Application Modernization Development
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
sap open course for s4hana steps from ECC to s4
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Svn vs mercurial vs github

  • 1. - SEARCH FOR THE BEST RCS vs vs Vinoth Kumar Kannan Vinoth.kannan@widas.de
  • 2. THE NEED Why do we need a Revision Control System(RCS) ? • Storing • Retrieval • Logging • Identification • Merging of revisions
  • 3. THE CHALLENGERS Apache Subversion - Centralized version control system Mercurial - Python Distributed version control system - Linux based Distributed version control system
  • 5. • Centralized Version Control Systems (DVCS)  Central, authoritative repository  All changes saved in one single location  Client-Server approach • Distributed Version Control Systems (DVCS)  Everyone has their own repository  You get the safety net of frequent check-ins without having to worry about „breaking the build‟.  Clients can make changes in the repositories and those changes will be local to them unless they synchronize with someone else.  Depending on the requirements, Git also offers a centralized repository
  • 6. SVN Dataflow Git Data Flow Working Dir Remote Repository
  • 7. Online Source Control  User must be online in order to commit to the repository from the working copy. Offline Source Control  Clients can commit changes to their localized repositories as new revisions even while being offline
  • 8. Longer time to store because all of the data is stored in a centralized repository.  Extremely Fast Complete copy of the data is stored locally in the client‟s system  Very less network response time
  • 9.  SVN help is more organized  There is some time wasted since it is difficult to get a quick reference from Git’s search.
  • 10. More Storage Space  Two copies of a file in the working directory of SVN  One copy is used for storing the actual work while the other copy hidden in .svn/ contains the information used to aid operations (status and commit)  When there are a lot of documents, there is a huge impact on disk space in the SVN compared with Git Less Storage Space  Has an efficient memory because the data‟s file format is compressed  Git has a small index file to store the info related to a particular file
  • 11. Creating and working on branch/Merge is complex and difficult to use  Simple and Easy to use branch and Merge  The working directory of a developer is itself a branch.
  • 12. Sequencial Commits  Data is lost when simultaneous commits of two or more working copies are performed Non-Sequencial Commits  Large number of users can put data to the same repository  No need to worry about data lost or immediate merging of others changes
  • 13. Merge  The facility to merge data is also there in SVN, but it is somewhat incomplete  SVN merge records seem to miss some of the important details that Git keeps track of. Merge  Users to have control over the merging of data in synchronized repositories.  Merges are always pulled by someone and nobody can push to commit merges in someone else’s repository.
  • 14. Revision Tracking  SVN keeps record of files  File history is lost on renaming  Fixed by giving a file unique long lived id Revision Tracking  Git keeps track of contents.  Even a small change in content it tracks it as a separate change.  Git needs a global check of the project to determine changes
  • 15. Particially Checkout  Checkouts at subdirectory level are possible. Only Full Checkout  Git will not allow you to checkout a subdirectory.  Instead, the user will have to checkout the whole repository.
  • 16. Simple usablity  Simpler to learn • create, commit and checkout  Single central "master-repository” Complex usablity  Two modes of creating repositories • checkout vs. clone • commit vs. push.  You have to know which commands work locally and which work with "the server“  Git has more concepts and more commands.  many Git commands are cryptic, and error messages are very user- unfriendly
  • 17. Projects using SVN Projects using Git BitBucket Gitorious Codeplex
  • 21. Steep Learning Curve  Mercurial's terminology and commands are closer to Subversion and CVS,  Easier to migrate Flat Learning Curve  More commands  More options  The volume can be intimidating to new users
  • 22. Clean Windows Support  Mercurial is Python based  The official distribution runs cleanly under Windows (as well as Linux, Mac OS X, etc). Indirect Windows Support  Git has a strong Linux heritage  Official way to run it under Windows is to use cygwin  Not so ideal from the perspective of a Windows user  A MinGw based port of Git is gaining popularity, but Windows still remains a “second class citizen” in the world of Git.
  • 23. Client Storage Management  If a branch is in the local repository, then all of its revisions (back to the very initial commit) must also be present Client Storage Management  Git allows previously pulled branches to be discarded.  Git also allows old revision data to be pruned from the local repository (while still keeping recent revision data on those branches).
  • 24. Slightly slower Branching  Branching, merging and tagging systems are equally powerful and only slightly slower. Faster Branching , but…  Slightly faster  Suffers irregular heavy performance drops
  • 25. Bob clones this repo, and ends up with a complete, independent, local copy of Alice's store and a clean checkout of the tipmost revision d in his working directory: Creating Branch and Merging in Mercurial (1)
  • 26. Creating Branch and Merging in Mercurial (2)
  • 27. Creating Branch and Merging in Mercurial (3) Pull Merge Commit
  • 28. Creating Branch and Merging in Mercurial (4)
  • 29. Limited Number of Parents  Allows only two parents. Unlimited Number of Parents  Git supports an unlimited number of parent revisions during a merge
  • 30. No Maintenance  Mercurial does not require any maintenance.  A lot less sophisticated with respect to managing the clients disk space Needs Maintenance  Git requires periodic maintenance of repositories  Need to run the commad git -gc  The Manual of Git Says : “Users are encouraged to run the above mentioned task on a regular basis within each repository to maintain good disk space utilization and good operating performance.”
  • 31. Immutable History  Structured more as an ever- growing collection of objects whose state cannot be changed after they are created Histories can be changed….  Git is extremely powerful, and will do almost anything you ask it to.  Unfortunately, this also means that Git is perfectly happy to lose history.  For example,the command git-push --force can result in revisions becoming lost in the remote repository.
  • 32. Integration  GOOD HTTP SUPPORT: Mercurial has very good support for HTTP based stateless pushing and pulling of remote repositories.  Less number of client – server calls  All of the relevant information is bundled into a single large transfer. Integration  Git includes support for HTTP pulls (and WebDAV pushes), but the implementation assumes that the server knows nothing about Git.  It is designed such that you can have a Apache simply serve the Git repository as static content.  This method requires numerous synchronous round trip requests
  • 33. Fans Fans The following Web sites provide free source code hosting for Git repositories
  • 34. Summary  In terms of implementation effort, Mercurial has a clear advantage due to its efficient HTTP transport protocol.  Much faster if the team size is not large  Eclipse supports Mercurial with the MercurialEclipse plugin. Summary  In terms of features, Git is more powerful, but this tends to be offset by it being more complicated to use.  Social coding : Popular and More suited for shared open source project involving many users.  Eclipse supports Git with the EGit plugin.
  • 35. SCREENSHOT OF TORTOISE HG GUI CLIENT HISTORY
  • 38. WHO DO YOU THINK WON?
  • 39. • Reference  http://importantshock.wordpress.com/2008/08/07/git-vs-mercurial/  http://code.google.com/p/support/wiki/DVCSAnalysis  http://www.ericsink.com/entries/hg_denzel.html  http://www.rockstarprogrammer.org/post/2008/apr/06/differences- between-mercurial-and-git/  http://en.wikipedia.org/wiki/Mercurial  http://www.wikivs.com/wiki/Git_vs_Mercurial