SlideShare a Scribd company logo
1 of 72
DEZENTRALE
VERSIONSKONTROLLE
Was nach Subversion kommt
WARUM
VERSIONSKONTROLLE?
VERSIONSKONTROLLE
VERSIONSKONTROLLE


• History
VERSIONSKONTROLLE


• History

• Rückgängig   machen
VERSIONSKONTROLLE


• History

• Rückgängig   machen

• Kollaboration
VERSIONSKONTROLLE


• History

• Rückgängig   machen

• Kollaboration

• Release   Management
TERMS
TERMS
TERMS

• Repository
TERMS

• Repository

• Working   Copy / Checkout
TERMS

• Repository

• Working   Copy / Checkout

• Commit
TERMS

• Repository

• Working   Copy / Checkout

• Commit

• Branch
TERMS

• Repository

• Working   Copy / Checkout

• Commit

• Branch

• Tag
working          Repository
 copy
#include
<stdio.h>

int main() {
   return 0;
   printf(....
} return 0;
}
working          Repository
 copy
#include
<stdio.h>

int main() {
   return 0;
   printf(....
} return 0;
}
working          Repository
 copy
#include
<stdio.h>

int main() {
   printf(....
   return 0;
}
working          Repository
 copy
#include
<stdio.h>

int main() {
   printf(....
   return 0;
}
1.0.1   1.0.2




 1.1
ZENTRAL FAILED
Bernd

Repository




               Hans
böses, langsames Netzwerk
                               Bernd

Repository




                                 Hans
Repository
             ?   Bernd




                   Hans
WHY SVN SUCKS

• Latenz

• Single   Point of Failure

• Commit     Rechte

• Keine Abbildung     von Hierarchien

• Globaler    Namespace
DEZENTRALISIERUNG
Max
        Repository   Bernd



 Hans
Repository

                       Repository
Max
                     Bernd

        Repository




 Hans
Repository

                       Repository
Max
                     Bernd

        Repository




 Hans
Repository

                       Repository
Max
                     Bernd

        Repository




 Hans
Repository

                       Repository
Max
                     Bernd

        Repository




 Hans
Repository

                       Repository
Max
                     Bernd

        Repository




 Hans
DEMO
vim .hg/hgrc
hg init
hg add
hg commit
hg push

hg clone http://hg-scm.org/hello
hg pull
MERCURIAL
REPOSITORY


drwxr-xr-x   18   dsp   staff     612   23   Nov   21:38   .hg
-rw-r--r--    1   dsp   staff     565   24   Jul   00:02   .hgignore
-rw-r--r--    1   dsp   staff    2308   22   Nov   17:32   .hgsigs
-rw-r--r--    1   dsp   staff    1336   22   Nov   17:32   .hgtags
-rw-r--r--    1   dsp   staff    1663   24   Jul   00:02   CONTRIBUTORS
-rw-r--r--    1   dsp   staff   17992   24   Jul   00:02   COPYING
-rw-r--r--    1   dsp   staff    3330   15   Okt   23:26   Makefile
-rw-r--r--    1   dsp   staff     306   15   Okt   23:26   README
drwxr-xr-x   12   dsp   staff     408    8   Nov   20:29   build
REVISIONSNUMMERN


2489dff03889e1bab8905fd43662729c91db1f2e
REVISIONSNUMMERN


2489dff03889e1bab8905fd43662729c91db1f2e
REVISIONSNUMMERN

Änderung:        1:2489dff03889
Nutzer:          David Soria Parra <dsp@php.net>
Datum:           Tue Nov 24 11:36:34 2009 +0100
Dateien:         main.c
Beschreibung:
Passthrough stdin to stdout
REVISIONSNUMMERN
REVISIONSNUMMERN


•Fortlaufend
REVISIONSNUMMERN


•Fortlaufend
•SHA-1
REVISIONSNUMMERN


•Fortlaufend
•SHA-1
•Branche Name
REVISIONSNUMMERN


•Fortlaufend
•SHA-1
•Branche Name
•Tags
SPECIAL FILES
SPECIAL FILES

•.hgrc
SPECIAL FILES

•.hgrc
 •Einstellung
SPECIAL FILES

•.hgrc
 •Einstellung
•.hgignore
SPECIAL FILES

•.hgrc
 •Einstellung
•.hgignore
 •Ignore
SPECIAL FILES

•.hgrc
 •Einstellung
•.hgignore
 •Ignore
•.hgtags
SPECIAL FILES

•.hgrc
 •Einstellung
•.hgignore
 •Ignore
•.hgtags
 •Tags
VORTEILE
PERFORMANCE / SIZE

•small repo size
 •sometimes smaller than .svn + working directory
•why does it matter?
 •new way of using commands
 •new cool features
mainline
mainline




  pull
BRANCHES
hg branch stable
hg update stable
hg commit --close-branch
ANDERE
ANDERE
ANDERE



•GIT
ANDERE



•GIT
•Bazaar
TOOLS
TOOLS

•bitbucket
TOOLS

•bitbucket
•TortoiseHG
TOOLS

•bitbucket
•TortoiseHG
•Murky
TOOLS

•bitbucket
•TortoiseHG
•Murky
•NetBeans
TOOLS

•bitbucket
•TortoiseHG
•Murky
•NetBeans
•Mercurial Eclipse
FRAGEN?

More Related Content

What's hot

Linux Commands - 3
Linux Commands - 3Linux Commands - 3
Linux Commands - 3
Kanchilug
 
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetchRedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
Redis Labs
 
Redis — The AK-47 of Post-relational Databases
Redis — The AK-47 of Post-relational DatabasesRedis — The AK-47 of Post-relational Databases
Redis — The AK-47 of Post-relational Databases
Karel Minarik
 

What's hot (20)

Sysdig
SysdigSysdig
Sysdig
 
What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?
 
Ansible as a better shell script
Ansible as a better shell scriptAnsible as a better shell script
Ansible as a better shell script
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfs
 
Session Control @ nolinux day
Session Control  @ nolinux daySession Control  @ nolinux day
Session Control @ nolinux day
 
Linux Commands - 3
Linux Commands - 3Linux Commands - 3
Linux Commands - 3
 
はじめてのGlusterFS
はじめてのGlusterFSはじめてのGlusterFS
はじめてのGlusterFS
 
Configuring Syslog by Octavio
Configuring Syslog by OctavioConfiguring Syslog by Octavio
Configuring Syslog by Octavio
 
CoreOS: Control Your Fleet
CoreOS: Control Your FleetCoreOS: Control Your Fleet
CoreOS: Control Your Fleet
 
OpenShift4 Installation by UPI on kvm
OpenShift4 Installation by UPI on kvmOpenShift4 Installation by UPI on kvm
OpenShift4 Installation by UPI on kvm
 
Quay 3.3 installation
Quay 3.3 installationQuay 3.3 installation
Quay 3.3 installation
 
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetchRedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
 
Redis — The AK-47 of Post-relational Databases
Redis — The AK-47 of Post-relational DatabasesRedis — The AK-47 of Post-relational Databases
Redis — The AK-47 of Post-relational Databases
 
Gnocchi v3 brownbag
Gnocchi v3 brownbagGnocchi v3 brownbag
Gnocchi v3 brownbag
 
CoreOS intro
CoreOS introCoreOS intro
CoreOS intro
 
[OpenInfra Days Korea 2018] (Track 4) - Backend.AI: 오픈소스 머신러닝 인프라 프레임워크
[OpenInfra Days Korea 2018] (Track 4) - Backend.AI: 오픈소스 머신러닝 인프라 프레임워크[OpenInfra Days Korea 2018] (Track 4) - Backend.AI: 오픈소스 머신러닝 인프라 프레임워크
[OpenInfra Days Korea 2018] (Track 4) - Backend.AI: 오픈소스 머신러닝 인프라 프레임워크
 
Reflink
ReflinkReflink
Reflink
 
Dockertaipei 20150528-dockerswarm
Dockertaipei 20150528-dockerswarmDockertaipei 20150528-dockerswarm
Dockertaipei 20150528-dockerswarm
 
Gnocchi v4 (preview)
Gnocchi v4 (preview)Gnocchi v4 (preview)
Gnocchi v4 (preview)
 
Developing High Performance Application with Aerospike & Go
Developing High Performance Application with Aerospike & GoDeveloping High Performance Application with Aerospike & Go
Developing High Performance Application with Aerospike & Go
 

Viewers also liked

Viewers also liked (9)

Safe2C
Safe2CSafe2C
Safe2C
 
3. hg init – a mercurial tutorial by tortoies hg fixing goofs
3. hg init – a mercurial tutorial by tortoies hg   fixing goofs3. hg init – a mercurial tutorial by tortoies hg   fixing goofs
3. hg init – a mercurial tutorial by tortoies hg fixing goofs
 
Строителство Градът
Строителство ГрадътСтроителство Градът
Строителство Градът
 
4. hg init – a mercurial tutorial by tortoise hg merging
4. hg init – a mercurial tutorial by tortoise hg   merging4. hg init – a mercurial tutorial by tortoise hg   merging
4. hg init – a mercurial tutorial by tortoise hg merging
 
2. hg init – a mercurial tutorial by tortoies hg setting up for a team
2. hg init – a mercurial tutorial by tortoies hg   setting up for a team2. hg init – a mercurial tutorial by tortoies hg   setting up for a team
2. hg init – a mercurial tutorial by tortoies hg setting up for a team
 
1. hg init – a mercurial tutorial by tortoies hg ground up mercurial
1. hg init – a mercurial tutorial by tortoies hg   ground up mercurial1. hg init – a mercurial tutorial by tortoies hg   ground up mercurial
1. hg init – a mercurial tutorial by tortoies hg ground up mercurial
 
5. hg init – a mercurial tutorial by tortoise hg repository architecture
5. hg init – a mercurial tutorial by tortoise hg   repository architecture5. hg init – a mercurial tutorial by tortoise hg   repository architecture
5. hg init – a mercurial tutorial by tortoise hg repository architecture
 
знаковая система вывод
знаковая система  выводзнаковая система  вывод
знаковая система вывод
 
Lege artis25
Lege artis25Lege artis25
Lege artis25
 

Similar to Mercurial

Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014
Mandi Walls
 
London devops logging
London devops loggingLondon devops logging
London devops logging
Tomas Doran
 
Facing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoopFacing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoop
fann wu
 
Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.
Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.
Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.
Mandi Walls
 

Similar to Mercurial (20)

Mercurial for Kittens
Mercurial for KittensMercurial for Kittens
Mercurial for Kittens
 
Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014
 
Backup, Restore, and Disaster Recovery
Backup, Restore, and Disaster RecoveryBackup, Restore, and Disaster Recovery
Backup, Restore, and Disaster Recovery
 
London devops logging
London devops loggingLondon devops logging
London devops logging
 
Cassandra introduction apache con 2014 budapest
Cassandra introduction apache con 2014 budapestCassandra introduction apache con 2014 budapest
Cassandra introduction apache con 2014 budapest
 
Git basics
Git basicsGit basics
Git basics
 
Facing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoopFacing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoop
 
Snapshots In Red Hat Storage Server Overview & Quickstart
Snapshots In Red Hat Storage Server Overview & QuickstartSnapshots In Red Hat Storage Server Overview & Quickstart
Snapshots In Red Hat Storage Server Overview & Quickstart
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Kubernetes上で動作する機械学習モジュールの配信&管理基盤Rekcurd について
Kubernetes上で動作する機械学習モジュールの配信&管理基盤Rekcurd についてKubernetes上で動作する機械学習モジュールの配信&管理基盤Rekcurd について
Kubernetes上で動作する機械学習モジュールの配信&管理基盤Rekcurd について
 
Mongo db roma replication and sharding
Mongo db roma replication and shardingMongo db roma replication and sharding
Mongo db roma replication and sharding
 
Walkthrough Neo4j 1.9 & 2.0
Walkthrough Neo4j 1.9 & 2.0Walkthrough Neo4j 1.9 & 2.0
Walkthrough Neo4j 1.9 & 2.0
 
dns.workshop.hsgr
dns.workshop.hsgrdns.workshop.hsgr
dns.workshop.hsgr
 
High Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouseHigh Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouse
 
Scaling Servers and Storage for Film Assets
Scaling Servers and Storage for Film Assets  Scaling Servers and Storage for Film Assets
Scaling Servers and Storage for Film Assets
 
DNS Survival Guide
DNS Survival GuideDNS Survival Guide
DNS Survival Guide
 
DNS Survival Guide.
DNS Survival Guide.DNS Survival Guide.
DNS Survival Guide.
 
Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.
Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.
Updated non-lab version of Level Up. Delivered at LOPSA-East, May 3, 2014.
 
HPTS talk on micro-sharding with Katta
HPTS talk on micro-sharding with KattaHPTS talk on micro-sharding with Katta
HPTS talk on micro-sharding with Katta
 
Apache HBaseの現在 - 火山と呼ばれたHBaseは今どうなっているのか
Apache HBaseの現在 - 火山と呼ばれたHBaseは今どうなっているのかApache HBaseの現在 - 火山と呼ばれたHBaseは今どうなっているのか
Apache HBaseの現在 - 火山と呼ばれたHBaseは今どうなっているのか
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Mercurial

Editor's Notes

  1. Alles vergessen, was man bis jetzt gelernt hat
  2. jeder hat seine eigene branch
  3. parallel development
  4. reviewing
  5. reviewing
  6. reviewing
  7. reviewing
  8. reviewing
  9. Branchy development Reviewing
  10. Branches sind st&amp;#xE4;ndig und ans changeset gebunden
  11. Git bazaar