際際滷

際際滷Share a Scribd company logo
息 2010 Shivercube
息 2010 Shivercube
 Clone an existing repository to create a new
local repository for development
 Each developer must have their own local copy
before making any changes
 Makes a copy of a repository at a point in
time
 Checks out the tip of the default branch
息 2010 Shivercube
 Atomic collection of changes to files in a
repository
 Uniquely identified with a changeset ID
 In a single repository identified by a revision
number
息 2010 Shivercube
 The creation of a new changeset
 Each commit should have a description
 Each commit should have a single specific
purpose
 Bulk amount of work should be separated into
individual commits
 Dont do too much in a single commit
息 2010 Shivercube
 Diverged line of development
 Linear sequence of consecutive changesets
 Default branch name is default
 Supports naming
息 2010 Shivercube
 Symbolic identifier for a changeset
 Use to mark different versions of the system
 Most recent changeset called tip
息 2010 Shivercube
 Push changes to another repository
 Adds changes in local repository to the
remote repository
 Only adds changes which are missing in the
remote repository
息 2010 Shivercube
 Pull changes from another repository
 Retrieves changesets from a remote
repository and merges them into the local
repository
 Only transfers changesets which are missing
in the local repository
息 2010 Shivercube
息 2010 Shivercube
 Allows two different strands of development
at the same time
 Quick and easy to switch between branches
 default branch should always contain
production code
 Always contains the latest workable version of the
system
 Code being developed should be under separate
branches
息 2010 Shivercube
 Create two copies of a repository
 Transfer changesets between them as often as
you want
 Safe way to create branches
 Repositories are completely isolated until you
push or pull
 Cant break something in one branch while working in
another
 Easy to delete branch
 Good for single developer testing features, but
not good for developers working as a team
息 2010 Shivercube
息 2010 Shivercube
 Create new branches for new features
 Able to merge changes between branches
 Permanently adds changeset metadata
 Close branches after finished
息 2010 Shivercube
息 2010 Shivercube
 Fastest and easiest way to implement small
changes
 Update to any revision and commit
 Use changeset IDs to switch back and forth
 Wont be any descriptive name for a branch
 Best for simple changes or experiments by a
single developer
息 2010 Shivercube
息 2010 Shivercube
 Combines two separate changesets into a
merge changeset
 Joins points of two branches into one
 Usually collisions can be automatically
handled
 Can use KDiff3 to intelligently merge changes into
a single file
Ad

Recommended

Quantum basic VLAN plugin
Quantum basic VLAN plugin
Salvatore Orlando
20190730 android taipei
20190730 android taipei
Shin-Wen Huang
VMware and Container Orchestration
VMware and Container Orchestration
Tesora
Virtual box
Virtual box
penetration Tester
XDS15: Project Raisin
XDS15: Project Raisin
Stefano Stabellini
Continuous Delivery - Voxxed Days Cluj-Napoca 2017
Continuous Delivery - Voxxed Days Cluj-Napoca 2017
Rafa Leszko
Containers #101 Meetup: Building a micro-service using Node.js and Docker - P...
Containers #101 Meetup: Building a micro-service using Node.js and Docker - P...
Codefresh
Source Code Management 際際滷s
Source Code Management 際際滷s
daschuck
Apache CXF New Directions in Integration
Apache CXF New Directions in Integration
Daniel Kulp
CXF 3.0, What's new?
CXF 3.0, What's new?
Daniel Kulp
Spring basics for freshers
Spring basics for freshers
Swati Bansal
Apache CXF - New Features
Apache CXF - New Features
Daniel Kulp
Building Elixir App Release with Distillery and Docker
Building Elixir App Release with Distillery and Docker
Mickey Chen
Aegir Introduction
Aegir Introduction
howardjacobson
Being Brave: Deploying OpenStack from Master
Being Brave: Deploying OpenStack from Master
OPNFV
Source Code Management Basics
Source Code Management Basics
Chris Tankersley
Icter open shift
Icter open shift
Gayan Kalanamith Mannapperuma
Introduction to Git and Github
Introduction to Git and Github
Max Claus Nunes
Version control with GIT
Version control with GIT
Zeeshan Khan
Tool Time
Tool Time
Ken Collins
Effective Git with Eclipse
Effective Git with Eclipse
Chris Aniszczyk
Loading...git
Loading...git
Rafael Garc鱈a
Git training
Git training
eric7master
Basics of git
Basics of git
Ahmed Al-sabsab
Fundamentals and basics of Git and commands
Fundamentals and basics of Git and commands
DivyanshGupta922023
BSADD-Git-TRAINING
BSADD-Git-TRAINING
bsadd
Bsadd training-git
Bsadd training-git
Maksud Chowdhury
Luis atencio on_git
Luis atencio on_git
Luis Atencio
git.ppt
git.ppt
ssuser10dcd71
Git
Git
Alf Chang

More Related Content

What's hot (9)

Apache CXF New Directions in Integration
Apache CXF New Directions in Integration
Daniel Kulp
CXF 3.0, What's new?
CXF 3.0, What's new?
Daniel Kulp
Spring basics for freshers
Spring basics for freshers
Swati Bansal
Apache CXF - New Features
Apache CXF - New Features
Daniel Kulp
Building Elixir App Release with Distillery and Docker
Building Elixir App Release with Distillery and Docker
Mickey Chen
Aegir Introduction
Aegir Introduction
howardjacobson
Being Brave: Deploying OpenStack from Master
Being Brave: Deploying OpenStack from Master
OPNFV
Source Code Management Basics
Source Code Management Basics
Chris Tankersley
Icter open shift
Icter open shift
Gayan Kalanamith Mannapperuma
Apache CXF New Directions in Integration
Apache CXF New Directions in Integration
Daniel Kulp
CXF 3.0, What's new?
CXF 3.0, What's new?
Daniel Kulp
Spring basics for freshers
Spring basics for freshers
Swati Bansal
Apache CXF - New Features
Apache CXF - New Features
Daniel Kulp
Building Elixir App Release with Distillery and Docker
Building Elixir App Release with Distillery and Docker
Mickey Chen
Being Brave: Deploying OpenStack from Master
Being Brave: Deploying OpenStack from Master
OPNFV
Source Code Management Basics
Source Code Management Basics
Chris Tankersley

Similar to Team development with mercurial (20)

Introduction to Git and Github
Introduction to Git and Github
Max Claus Nunes
Version control with GIT
Version control with GIT
Zeeshan Khan
Tool Time
Tool Time
Ken Collins
Effective Git with Eclipse
Effective Git with Eclipse
Chris Aniszczyk
Loading...git
Loading...git
Rafael Garc鱈a
Git training
Git training
eric7master
Basics of git
Basics of git
Ahmed Al-sabsab
Fundamentals and basics of Git and commands
Fundamentals and basics of Git and commands
DivyanshGupta922023
BSADD-Git-TRAINING
BSADD-Git-TRAINING
bsadd
Bsadd training-git
Bsadd training-git
Maksud Chowdhury
Luis atencio on_git
Luis atencio on_git
Luis Atencio
git.ppt
git.ppt
ssuser10dcd71
Git
Git
Alf Chang
Git
Git
zafarfaizi
Introduction to Git
Introduction to Git
atishgoswami
Git and GitHub
Git and GitHub
Priya Nayak
Git Series - Part 1
Git Series - Part 1
Mohamed Abdeen
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
AbhijitNarayan2
[2015/2016] Collaborative software development with Git
[2015/2016] Collaborative software development with Git
Ivano Malavolta
Source control
Source control
Sachithra Gayan
Introduction to Git and Github
Introduction to Git and Github
Max Claus Nunes
Version control with GIT
Version control with GIT
Zeeshan Khan
Effective Git with Eclipse
Effective Git with Eclipse
Chris Aniszczyk
Fundamentals and basics of Git and commands
Fundamentals and basics of Git and commands
DivyanshGupta922023
BSADD-Git-TRAINING
BSADD-Git-TRAINING
bsadd
Luis atencio on_git
Luis atencio on_git
Luis Atencio
Introduction to Git
Introduction to Git
atishgoswami
Git and GitHub
Git and GitHub
Priya Nayak
Git Series - Part 1
Git Series - Part 1
Mohamed Abdeen
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
AbhijitNarayan2
[2015/2016] Collaborative software development with Git
[2015/2016] Collaborative software development with Git
Ivano Malavolta
Ad

Recently uploaded (20)

FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
Cluster-Based Multi-Objective Metamorphic Test Case Pair Selection for Deep N...
Cluster-Based Multi-Objective Metamorphic Test Case Pair Selection for Deep N...
janeliewang985
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Safe Software
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
Cluster-Based Multi-Objective Metamorphic Test Case Pair Selection for Deep N...
Cluster-Based Multi-Objective Metamorphic Test Case Pair Selection for Deep N...
janeliewang985
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Improving Data Integrity: Synchronization between EAM and ArcGIS Utility Netw...
Safe Software
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
Ad

Team development with mercurial

  • 2. 息 2010 Shivercube Clone an existing repository to create a new local repository for development Each developer must have their own local copy before making any changes Makes a copy of a repository at a point in time Checks out the tip of the default branch
  • 3. 息 2010 Shivercube Atomic collection of changes to files in a repository Uniquely identified with a changeset ID In a single repository identified by a revision number
  • 4. 息 2010 Shivercube The creation of a new changeset Each commit should have a description Each commit should have a single specific purpose Bulk amount of work should be separated into individual commits Dont do too much in a single commit
  • 5. 息 2010 Shivercube Diverged line of development Linear sequence of consecutive changesets Default branch name is default Supports naming
  • 6. 息 2010 Shivercube Symbolic identifier for a changeset Use to mark different versions of the system Most recent changeset called tip
  • 7. 息 2010 Shivercube Push changes to another repository Adds changes in local repository to the remote repository Only adds changes which are missing in the remote repository
  • 8. 息 2010 Shivercube Pull changes from another repository Retrieves changesets from a remote repository and merges them into the local repository Only transfers changesets which are missing in the local repository
  • 10. 息 2010 Shivercube Allows two different strands of development at the same time Quick and easy to switch between branches default branch should always contain production code Always contains the latest workable version of the system Code being developed should be under separate branches
  • 11. 息 2010 Shivercube Create two copies of a repository Transfer changesets between them as often as you want Safe way to create branches Repositories are completely isolated until you push or pull Cant break something in one branch while working in another Easy to delete branch Good for single developer testing features, but not good for developers working as a team
  • 13. 息 2010 Shivercube Create new branches for new features Able to merge changes between branches Permanently adds changeset metadata Close branches after finished
  • 15. 息 2010 Shivercube Fastest and easiest way to implement small changes Update to any revision and commit Use changeset IDs to switch back and forth Wont be any descriptive name for a branch Best for simple changes or experiments by a single developer
  • 17. 息 2010 Shivercube Combines two separate changesets into a merge changeset Joins points of two branches into one Usually collisions can be automatically handled Can use KDiff3 to intelligently merge changes into a single file